bug-bash
[Top][All Lists]
Advanced

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

Questions about commandline-args


From: Christopher Roy Bratusek
Subject: Questions about commandline-args
Date: Fri, 11 Nov 2011 20:18 +0100
User-agent: KMail/4.6 rc1 (Linux/3.0.7-zen+; KDE/4.6.5; x86_64; ; )

Hi list,

I've got a question about commandline args, imagine:

personal_function ab{c,d}

personal_function will receive abc and abd.
Is there a way to make it receive ab{c,d}
instead (without chaning the arguement itself)?

(The actual problem is not that personal_function
can't handle the arg, but that it passes it to a
command from /usr/bin and image it to pass
"abc abd abe abf" to `mv' instead of "ab{c,d} ab{e,f}",
or any other command which would not behave correctly)

Maybe there's no way, but I thought asking won't hurt.

Regards,
Chris

Attachment: signature.asc
Description: This is a digitally signed message part.


reply via email to

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