bug-bash
[Top][All Lists]
Advanced

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

Re: read 1 var in when executing command


From: Paul Jarc
Subject: Re: read 1 var in when executing command
Date: Sat, 12 May 2007 23:17:47 -0400
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.4 (gnu/linux)

jdh239 <address@hidden> wrote:
> I would prefer, again, just to execute the command with the domain name
> following....  Not sure how to do it.

You can define the command as a shell function (see "Shell Function
Definitions" in the man page under "SHELL GRAMMAR").  You can refer to
the first argument as $1 (see "Positional Parameters", under
"PARAMETERS").


paul




reply via email to

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