Re: how can I do this? make it run

From: Bill Marcum (bmarcum_at_iglou.com.urgent)
Date: 12/28/04


Date: Tue, 28 Dec 2004 12:09:06 -0500

On Tue, 28 Dec 2004 10:58:58 +0800, Hardy
  <WelcomeNoSpam@acc.com> wrote:
>
> if the command is just as simple as "rm", "ls -l", I can use "cat filename |
> xargs ls -l" and there's no problem. but when I go to the command "db2 list
> tablespace containers for $1", it doesn't work.
>
> $ db2 list tablespaces | grep -i "tablespace id" | awk -F'=' '{print $2}' |
> xargs db2 list tablespace containers for
> -----------------output
> just like the file input
> SQL0104N An unexpected token "1" was found following "<identifier>".
> Expected tokens may include: "END-OF-STATEMENT". SQLSTATE=42601
>
>
> any help would be highly appreciated, thank you~
>

xargs -n 1

-- 
"Cow fault??? Have you progressed from BSD to BSE?"
cowsay -b "Prepare to be assimoolated! "