[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [hobbit] Re: bb-prtdiag.sh



You might want to try opening it in Notepad++ and use the convert to *NIX
option from the drop down menu.

Josh

On 2/8/08, Sloan <joe (at) tmsusa.com> wrote:
>
> Robert McGraw wrote:
> > Kirbach Uwe <U.Kirbach (at) ...> writes:
> >
> > Ref the following awk errors generated in bb-prtdiag.sh V4_10
> >
> >
> >
> >>   awk: syntax error near line 1
> >>   awk: bailing out near line 1
> >>
> >
> > I see where the error is being generated in bb-prtdiag.sh but the
> > AWK command input is rather intimidating and I am not a big AWK
> > type person.
> >
>
> LOL dying at line 1? Let me guess, the file was created or edited on a
> windoze pee cee...
>
> If that is the case, you'll need to run the script through dos2unix to
> remove the foreign line endings.
>
> Joe
>
>
> To unsubscribe from the hobbit list, send an e-mail to
> hobbit-unsubscribe (at) hswn.dk
>
>
>


-- 
Josh Luthman
Office: 937-552-2340
Direct: 937-552-2343
1100 Wayne St
Suite 1337
Troy, OH 45373

Those who don't understand UNIX are condemned to reinvent it, poorly.
--- Henry Spencer