In a message dated: Thu, 23 May 2002 16:45:47 EDT
Kenny Donahue said:

>Ok, here's one for all you bash experts out there.
>I have a line in a script that does this:
>
>lspci -d1134:1 | /usr/bin/wc -l
[...snip...]
>/* Note the 6 blank spaces before the "2" */
>
>if I log in as my self or ssh into the machine and su to root, I get
>2 /* note NO space before the "2" */
[...snip...]
>again.  What's up.

No idea, works just fine for me.  Regardless of what I do, there are 
spaces before the number. Make sure that wc isn't aliased somewhere 
in roots config files to be something else including a sed statement.
-- 

Seeya,
Paul
----
        It may look like I'm just sitting here doing nothing,
   but I'm really actively waiting for all my problems to go away.

         If you're not having fun, you're not doing it right!



*****************************************************************
To unsubscribe from this list, send mail to [EMAIL PROTECTED]
with the text 'unsubscribe gnhlug' in the message body.
*****************************************************************

Reply via email to