Subject: help with awk in scripts
To: 'netbsd-help' <netbsd-help@NetBSD.ORG>
From: John Maier <JohnAM@datastorm.com>
List: netbsd-users
Date: 04/23/1997 20:46:32
How do I get the script below to allow the variable $group to replace
ingress in the 4th line?
#!/bin/csh
echo -n "Show the Group Number: "
set group = $<
set testme = `awk -F : '/ingress/ {print $3}' /etc/group`
echo $testme
jam
**************************************************************************
*
* John A. Maier * Research and Development
*
* E-mail: johnam@datastorm.com * Datastorm Technologies Inc.
*
* * Procomm Plus for Windows and DOS
*
* * (314) 443-3283
*
**************************************************************************
*