Ken Nakamura <knaka...@tripwire.com> said
                (on Tue, Feb 24, 2009 at 12:08:37PM -0800):
> ${1...@} is for "the first arg string, removing up to and including the first 
> '@' char".

Unfortunately, you have benignly described ${...@}
When you double the '#', it means "be greedy" (longest match), so:

${...@} is for "the first argument, without leading characters up-to (and 
including) the first '@'".

${1...@} is for "the first argument, without leading characters up-to (and 
including) the last '@'".

</pedant>

(who has more than one '@' in the first argument to ssh?!?)

-- 
Geraint A. Edwards (aka "Gedge")


_______________________________________________
screen-users mailing list
screen-users@gnu.org
http://lists.gnu.org/mailman/listinfo/screen-users

Reply via email to