This one time, at band camp, Carlo Sogono wrote: >O Plameras wrote: >>Carlo Sogono wrote: >>>True, actually not even man bash. If you execute the command you'll >>>most likely get an error complaining about the file 1, create a file 1 >>>and re-execute it and by using the magic commands ls and cat he'd >>>figure it out without needing the man pages. >>This is not going to produce errors because, >> >>$cat 1>m1 >> >>means concatenate "std.input" into filename "m1". > >1 is actually stdout as mentioned in my previous message. You're >redirecting to m1 what cat is outputting to the screen and not what your
Right, but what's cat catting? No files are specified so it reads from stdin; the command does what Oscar said. -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html