Re: read 1 var in when executing command

2007-05-13 Thread Chris F.A. Johnson
On 2007-05-12, jdh239 wrote: > > I saw something similar to this in the archives already, but didn't see a > real answer. I am modifying my 'whois' command to just grep for the > expiration date of my domains: > > ie jwhois > > whois $DOM | grep -i expi | grep -i -e jan -e feb -e mar -e apr -e may

Re: read 1 var in when executing command

2007-05-12 Thread jdh239
t; Bug-bash@gnu.org > http://lists.gnu.org/mailman/listinfo/bug-bash > > Thanks for the info, but my man page as specified above has no such sections -- View this message in context: http://www.nabble.com/read-1-var-in-when-executing-command-tf3732385.html#a10452469 Sent from the Gn

Re: read 1 var in when executing command

2007-05-12 Thread Paul Jarc
jdh239 <[EMAIL PROTECTED]> 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 a

read 1 var in when executing command

2007-05-12 Thread jdh239
it. I have been looking around and saw things like getopts, but I am only passing in one variable and thought it should be fairly simple Thanks in advance. -- View this message in context: http://www.nabble.com/read-1-var-in-when-executing-command-tf3732385.html#a10447367 Sent from the Gnu - Bas