Re: [uug] tcsh line number output

2011-09-22 Thread Lloyd Brown
On 9/22/11 6:13 PM, Stuart Jansen wrote: > Friends don't let friends use tcsh. It's not by choice. I was debugging a script for work, written by a commercial software company. It was either debug it, or re-write it in something else (bash, python, whatever). As frustrating as tcsh is to me pers

Re: [uug] tcsh line number output

2011-09-22 Thread Robert LeBlanc
On Thu, Sep 22, 2011 at 6:13 PM, Stuart Jansen wrote: > On Thu, 2011-09-22 at 09:22 -0600, Lloyd Brown wrote: > > Does anyone know the easiest way to output the line number from a tcsh > > shell script? Something similar to Bash's $LINENO or C's __LINE__ would > > be great, but I can't find anyt

Re: [uug] tcsh line number output

2011-09-22 Thread Stuart Jansen
On Thu, 2011-09-22 at 09:22 -0600, Lloyd Brown wrote: > Does anyone know the easiest way to output the line number from a tcsh > shell script? Something similar to Bash's $LINENO or C's __LINE__ would > be great, but I can't find anything yet, and it would be extremely > helpful for a script I'm d

[uug] tcsh line number output

2011-09-22 Thread Lloyd Brown
Does anyone know the easiest way to output the line number from a tcsh shell script? Something similar to Bash's $LINENO or C's __LINE__ would be great, but I can't find anything yet, and it would be extremely helpful for a script I'm debugging for someone. -- Lloyd Brown Systems Administrator