Re: read 1 var in when executing command

2007-05-12 Thread jdh239
Paul Jarc wrote: > > 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

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
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 -e jun -e jul -e aug -e sep -e oct -e nov

Re: regex subexpressions broken

2007-05-12 Thread Chet Ramey
[EMAIL PROTECTED] wrote: > Configuration Information [Automatically generated, do not change]: > Machine: i686 > OS: linux-gnu > Compiler: i686-pc-linux-gnu-gcc > Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i686' > -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i686-pc-linux-gnu' > -DCONF_