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


Aliases? | 5 comments | Create New Account
Click here to return to the 'Aliases?' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Aliases?
Authored by: mcglk on Feb 17, '02 04:13:20PM

Aliases can be useful, but for those of us that use bash, for example, tcsh aliases are problematic. Far better (and more comprehensible to boot) to have this as a simple shell script. Put it in /usr/local/bin, and you can share it with everyone on your system without having to duplicate aliases.

#!/bin/sh CONV=`units $2 $3 | awk '{print $1, $2, $3}' | head -1` echo "scale=4; $1 $CONV" | bc -l



[ Reply to This | # ]