Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
Apple Computing Products:
macOS - Apps and Programs
Learning tool
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="special_k" data-source="post: 1185169" data-attributes="member: 192191"><p>I got it, finally. I installed geektool and use this script</p><p></p><p>ruby -e 'x = ARGF.to_a; puts x[rand x.size]' textfile.txt</p><p></p><p>to display a random line.</p><p></p><p>thanks anyway.</p></blockquote><p></p>
[QUOTE="special_k, post: 1185169, member: 192191"] I got it, finally. I installed geektool and use this script ruby -e 'x = ARGF.to_a; puts x[rand x.size]' textfile.txt to display a random line. thanks anyway. [/QUOTE]
Verification
Post reply
Forums
Apple Computing Products:
macOS - Apps and Programs
Learning tool
Top