Sean Powers’ tip of the day:
Thank you Sean. now, can we do a better job that Sean did and come up with some actual uses for this ability?
Here are the last few things I did with redirect.
I wanted to convert a series of files from .odt (word processor) format to text format, so I used ls to produce a list of files, redirected that list to a file, then stepped through that file to feed the file names to the conversion filter.
Later on, I took those very self same text files and mushed them all together to form one big file. I used the double carrot for that .
When I make my blogroll, there are a number of steps involved (it is all done with a bash script) and I use redirects at several stages, including running the master list (to which I’ve added sites over time) through a sorting filter that also produces a unique list … the output of which goes into a file.
Any other suggestions?




