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


Click here to return to the 'A script to quote any script for use as an alias' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
A script to quote any script for use as an alias
Authored by: SOX on May 19, '06 11:28:00AM
the initial command is mission the \< and \> characters. So it should have read

perl -we '$s=<>;print quotemeta $s'
But it's not a big deal since you can cut and paste the later command where it is being aliased directly rather than having to type it in

[ Reply to This | # ]