Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Built Alias for This Hint' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Built Alias for This Hint
Authored by: jhaffner on Apr 12, '02 02:20:25PM

I saw this hint on O'Reilly, under their BSD tutorials.

I liked it so much, I added an alias to my .tcshrc file as follows:

alias fman 'man (bs)!* | col -b > /path/for/page/(bs)!*.man'

(bs)= backslash because preview stripped the character out.

The (bs)!* string substitutes your desired command in the alias. So, now when I type 'fman foo' at the prompt, I get a text file named foo.man that I can open with BBEdit.



[ Reply to This | # ]