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,
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
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
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.
_
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
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
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
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
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
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
10 matches
Mail list logo