Thanks!
Am Son, 2003-03-16 um 22.23 schrieb Robert P. J. Day:
>...
--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list
On 16 Mar 2003, Kleiner Hampel wrote:
> Hi,
>
> tricky!
>
> But what is about:
>
> ${var##string}
> ${var%string}
> ${var%%string}
>
> What means the double #, the single and double #?
> Please explain me in some words! Thanks!
> Is there a man page with this information?
these are internal
Hi,
this results in the same error message!
regards,
hampel
Am Son, 2003-03-16 um 18.20 schrieb Cowles, Steve:
> > -Original Message-
> > From: Kleiner Hampel
> > Sent: Sunday, March 16, 2003 10:41 AM
> > Subject: Re: shell script - expert question
> >
16 Mar 2003, Cowles, Steve wrote:
>
> > > -Original Message-
> > > From: Kleiner Hampel
> > > Sent: Sunday, March 16, 2003 10:41 AM
> > > Subject: Re: shell script - expert question
> > >
> > >
> > > Hi,
> > >
Thanks, this works!
regards,
hampel
Am Son, 2003-03-16 um 18.23 schrieb Mikkel L. Ellertson:
> On 16 Mar 2003, Kleiner Hampel wrote:
>
> > Hi,
> >
> > now it works, but because of the '*'.
> >
> > now i want to remove the leading abc from all files in my directory.
> > i tried this:
> >
> > f
On Sun, 16 Mar 2003, Cowles, Steve wrote:
> > -Original Message-
> > From: Kleiner Hampel
> > Sent: Sunday, March 16, 2003 10:41 AM
> > Subject: Re: shell script - expert question
> >
> >
> > Hi,
> >
> > now it works, but because
On 16 Mar 2003, Kleiner Hampel wrote:
> Hi,
>
> now it works, but because of the '*'.
>
> now i want to remove the leading abc from all files in my directory.
> i tried this:
>
> for i in *; do mv $i `echo $i | sed s/abc//`; done
>
> but it doesn't do that.
> i always get the error, that the l
> -Original Message-
> From: Kleiner Hampel
> Sent: Sunday, March 16, 2003 10:41 AM
> Subject: Re: shell script - expert question
>
>
> Hi,
>
> now it works, but because of the '*'.
>
> now i want to remove the leading abc from all files in
Hi,
now it works, but because of the '*'.
now i want to remove the leading abc from all files in my directory.
i tried this:
for i in *; do mv $i `echo $i | sed s/abc//`; done
but it doesn't do that.
i always get the error, that the last arguement must be a directory!
I guess, the reason are th
On Sun, 16 Mar 2003, Kleiner Hampel wrote:
> Hi,
>
> i have a directory with some files with spaces in the name:
>
> abc 1.mp3
> abc 2.mp3
> abc 3 track 2.mp3
>
> For my shell script i have to begin so:
>
> for i in `ls`; do echo $i; done
>
Try
cd /tmp/foo
for i in * ; do echo "$i" ; done
You n
10 matches
Mail list logo