On Fri, 2003-02-21 at 15:05, Gene Yoo wrote: > Rigler, S C (Steve) wrote: > > Make sure you are including "rpm -qa | grep kde" in backticks. > > > > So, if you do: > > > > rpm -e `rpm -qa | grep kde` > > > > "rpm -e" will act on the output from "rpm -qa | grep kde" > >
BTW the backticks are deprecated I believe for the nestable $(command) then you can do stuff like myvar=$(command2 $(command1)) The output of command1 will be passed to command2 as arguments look for command substitution in man bash Bret -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list