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


Click here to return to the 'Re: version for bash' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Re: version for bash
Authored by: hayne on Apr 07, '06 08:05:12AM
The above 'save' function should be revised to use $@ instead of !$ - i.e. it should be:

save () { /usr/bin/sed "/$@/d" ~/.dirs > ~/.dirs1; \mv ~/.dirs1 ~/.dirs; echo "$@"=\"`pwd`\" >> ~/.dirs; source ~/.dirs ; }


[ Reply to This | # ]