Re: Su

2003-09-28 Thread Net Llama!
f00.sh -x is how you debug bash scripts. On Sun, 28 Sep 2003, Joel Hammer wrote: > I do not have any good debugging tools for bash, although I guess they > exist. A most annoying part of bash is an error on line 3 is reported > as an error on the last line of the file. Not much help. This is why,

Re: Su

2003-09-28 Thread Joel Hammer
I do not have any good debugging tools for bash, although I guess they exist. A most annoying part of bash is an error on line 3 is reported as an error on the last line of the file. Not much help. This is why, when I work with a large bash script, I only modify one line or two lines at a time befo

Re: Su

2003-09-28 Thread Bill Campbell
On Sun, Sep 28, 2003, Ted Ozolins wrote: >Joel Hammer wrote: >>You are missing an ending quote in line 18. >> >>Now, you might ask, how did I find this? >> vi .profile >> :set syntax=sh >> :syntax on >> >>Joel >Dang! I like the way that works. Definately entered in my notes, Thank y

Re: Su

2003-09-28 Thread Ted Ozolins
Joel Hammer wrote: You are missing an ending quote in line 18. Now, you might ask, how did I find this? vi .profile :set syntax=sh :syntax on Joel Dang! I like the way that works. Definately entered in my notes, Thank you. -- Ted Ozolins (VE7TVO) Westbank, B. C. _

Re: Su

2003-09-28 Thread Bruce Marshall
On Sunday 28 September 2003 17:55 pm, Ted Ozolins wrote: > Bruce Marshall wrote: > > Check line 18 > > I must have gone over this puppy dozens of times to no avail. A > classic case of forest and trees. Thank you, that was it. I use the brute-force method. (which works regardless of language) Ma

Re: Su

2003-09-28 Thread Ted Ozolins
Bruce Marshall wrote: Check line 18 I must have gone over this puppy dozens of times to no avail. A classic case of forest and trees. Thank you, that was it. -- Ted Ozolins (VE7TVO) Westbank, B. C. ___ Linux-users mailing list [EMAIL PROTECTED] Unsu

Re: Su

2003-09-28 Thread Joel Hammer
closing quote > > > > > > It seems that when I su I get the following error: > > > > -su: /etc/profile: line 87: unexpected EOF while looking for matching > > `"' -su: /etc/profile: line 89: syntax error: unexpected end of file > > > > I

Re: Su

2003-09-28 Thread James McDonald
line 18 PATH="/usr/lib/j2re1.4.1/bin:$PATH doesn't have a closing quote > > It seems that when I su I get the following error: > > -su: /etc/profile: line 87: unexpected EOF while looking for matching > `"' -su: /etc/profile: line 89: syntax error: unexpect

Re: Su

2003-09-28 Thread Bruce Marshall
On Sunday 28 September 2003 16:31 pm, Ted Ozolins wrote: > It seems that when I su I get the following error: > > -su: /etc/profile: line 87: unexpected EOF while looking for matching > `"' -su: /etc/profile: line 89: syntax error: unexpected end of file > > I'v

Su

2003-09-28 Thread Ted Ozolins
It seems that when I su I get the following error: -su: /etc/profile: line 87: unexpected EOF while looking for matching `"' -su: /etc/profile: line 89: syntax error: unexpected end of file I've looked at /etc/profile using vi but I can not seem to see where the problem is