Subject: shell script again...
To: None <port-mac68k@netbsd.org>
From: Jean-Francois Fortier <jffortier@cgocable.ca>
List: port-mac68k
Date: 03/03/2000 12:06:42
Hi everyone,
Many thanks... I've fond my error: I was using ' ' instead of `
` !!! Thanks for your
examples .
$var = `date | awk {'print 1$'}`
Date was only an example of what I wanted to do. If fact, I'm scripting
my Quadra to backup our routers and I need to "built" command from
previous awk and grep result...
$interface = `grep "* direct" int | awk ' { print $5 }`
Many thanks,
Jeff