> > tac filename > filename_taced > > Hey, cool. I never knew that... > > > turns around a file, the end becomes the beginning. > > head -n 10 filename_taced | tac > > Why use an intermediary file instead of a pipe? > > $ tac filename | head -n10
this would be more readable in the case of a plain-text file: $ tac filename.txt | head -n 10 | tac and yes, that's cool :) -- реклама ----------------------------------------------------------- http://FREEhost.com.ua - еще больше места и возможностей. При заказе хостинга - домен бесплатно. -- To UNSUBSCRIBE, email to debian-amd64-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org