Re: Whats wrong with this script ?
----- Original Message -----
From: Colin Watson <cjwatson@debian.org>
To: <debian-user@lists.debian.org>
Sent: Wednesday, August 14, 2002 9:46 PM
Subject: Re: Whats wrong with this script ?
> On Wed, Aug 14, 2002 at 09:14:17PM +0530, Dr. Sachin Kale wrote:
> > Colin Watson Sent: Wednesday, August 14, 2002 10:34 AM
> > > Split that line after 'modinfo', so:
> > >
> > > MI=/tmp/modinfo
> > > [ -z "$DEPMOD" ] && DEPMOD=depmod #new kernel version
> >
> > After doing that I get the following error -
> >
> > ./fixscript1: line 6: syntax error near unexpected token `echo'
> > ./fixscript1: line 6: ` echo -n doing $i
> > '
>
> Did you also follow Vineet's suggestion to join the 'for' line and
the
> one after it?
Vi shows is at one line only :(
Sachin
>
> Also join these two lines:
>
> echo -ne "kernel_version="`uname -r`"\0" > $MI #build the objcopy
> command
>
> Word-wrap is quite remarkably bad for scripts ...
>
> --
> Colin Watson
[cjwatson@flatline.org.uk]
>
>
> --
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
listmaster@lists.debian.org
Reply to: