It's got to be somewhere in my environment. Like I said, The problem is solved it's just messing up my head that it works differently for me and others than it does for root. I was just hoping for someone to say "export SET_THIS_DUMMY=get_spaces" and get the spaces in my environment.
Thanks, Kenny [EMAIL PROTECTED] wrote: > 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! -- Ken Donahue Software Engineer phone: 978 967-1820 email: [EMAIL PROTECTED] Mercury Computers, Inc. System OS - Host Development Team ***************************************************************** To unsubscribe from this list, send mail to [EMAIL PROTECTED] with the text 'unsubscribe gnhlug' in the message body. *****************************************************************
