help-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Help-bash] bash wrapper: using $@ instead of ${1+"$@"}


From: Patrick Schleizer
Subject: [Help-bash] bash wrapper: using $@ instead of ${1+"$@"}
Date: Fri, 11 Dec 2015 22:42:58 +0000

Hi!

A question regarding:
http://mywiki.wooledge.org/WrapperScript

It still recommends:

${1+"$@"}

Assumed, that only recent versions of bash are in use, then one can
safely use the simpler notation of:

$@

i.e. simply

/path/to/wrapper $@

Should work fine in all cases?

Cheers,
Patrick



reply via email to

[Prev in Thread] Current Thread [Next in Thread]