On Wed, Nov 18, 2009 at 11:29 AM, Don Delp <[email protected]> wrote:
> Does anybody have a real-life usage example? I've seen this command > but never found anything for it to do. > > Maybe generate a large text file? > > $ time yes this is large > foo.txt > ^C > > real 0m0.988s > user 0m0.780s > sys 0m0.192s > > $ wc -l foo.txt > 5811053 foo.txt > > $ ls -lh foo.txt > -rw-r--r-- 1 donalddelp donalddelp 78M 2009-11-18 10:20 foo.txt > > > Why do you need such a text file? Maybe to test your compression > software on text with high redundancy? > > When running an install script (or other script) that constantly prompts Y/N you can pipe in the yes command. Andy -- You received this message because you are subscribed to the Google Groups "NLUG" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/nlug-talk?hl=.
