Re: shell quoting woes

2002-04-05 Thread jereme
Hi, [snips:] Steve Juranich wrote: > I don't think this is a quoting problem. The problem is your hash mark. > Remember that's a comment character, so you'll need to escape it (put a \ in > front). > > Try something like this: > > nmblookup -R $(eval echo "$username\#03") -U $nbns This wor

Re: shell quoting woes

2002-04-05 Thread Steve Juranich
I don't think this is a quoting problem. The problem is your hash mark. Remember that's a comment character, so you'll need to escape it (put a \ in front). Try something like this: nmblookup -R $(eval echo "$username\#03") -U $nbns I don't think it's necessary to use the '\" stuff. Good l

shell quoting woes

2002-04-05 Thread jereme
Hi All, I am having trouble getting a script to produce a quoted string for interpretation by another command. I often have to start VNC sessions from my workstation to some user's Windows machine, since my users all roam between many sites and machine, I have taken to querying ou