Path: utzoo!attcan!uunet!cs.utexas.edu!sdd.hp.com!hplabs!hpda!hpcuhb!hpsqf!hpopd!bd From: bd@hpopd.HP.COM (Bob Desinger) Newsgroups: comp.unix.wizards Subject: Re: csh weirdness (HELP!) Message-ID: <8000007@hpopd.HP.COM> Date: 14 Aug 90 15:49:12 GMT References: <1990Aug13.151415.14575@elroy.jpl.nasa.gov> Organization: HP Software Engineering Systems, UK Lines: 9 > to kill every instance of a.out I get > `ps | grep a.out | awk '{printf("%d ",$1);}'`: Ambiguous. Can you work around this by changing the awk program to generate the kill commands, then piping the awk output to the shell? As in: ps | grep a.out | awk '{print "kill", $1}' | sh -- bd