Why do I need to use cd "$@" instead of cd "$1" when writing a wrapper for cd? – unix.stackexchange.com 00:07 Posted by Unknown No Comments Elsewhere I have seen a cd function as below: cd() { builtin cd "$@" } why is it recommended to use $@ instead of $1? I created a test directory "r st" and called the script containing this ... from Hot Questions - Stack Exchange OnStackOverflow via Blogspot Share this Google Facebook Twitter More Digg Linkedin Stumbleupon Delicious Tumblr BufferApp Pocket Evernote Unknown Artikel TerkaitHow does a client know an SSL cert has been signed by CA if it doesn't contain that CA's public key? – security.stackexchange.comtemplate template parameters and forwarding references – stackoverflow.comIs a rogue with use magic device feature considered proficient in armor and weapons? – rpg.stackexchange.comWhy did the Night King attack the furthest target first? – movies.stackexchange.comUndo a Range of Numbers – codegolf.stackexchange.comWhy aren't 100% UV blocked sunglasses safe to view an eclipse with? – physics.stackexchange.com
0 Comment to "Why do I need to use cd "$@" instead of cd "$1" when writing a wrapper for cd? – unix.stackexchange.com"
Post a Comment