Re: Fast blas1
Hello,
On Thu, Feb 10, 2000 at 09:44:04PM +0100, Marcelo E. Magallon wrote:
> >> Adam C Powell IV <hazelsct@mit.edu> writes:
>
> > * I can't figure out how to do cp */*.o *.i as in, rename those files
> > to the same thing with .i instead of .o, so I can't make the static
> > lib work.
>
> Use mmv, but it's "non standard". (don't ask me how, I just know it
> does this)
>
> In bash (less non standard):
>
> $ for object in *.o ; do mv $object ${object%.o}.i ; done
>
> In general (standard but slower):
>
> $ for object in *.o ;
> do mv $object `echo $object | sed -e 's/\.o$/.i/'` ;
> done
Actually, you can also use basename(1) so instead of `echo ...` put
`basename $object .o`.i
This will also work but it looks a little bit awkward (psychology or
habbits?):
`basename $object o`i
Dejan
>
>
> Marcelo
>
>
> --
> To UNSUBSCRIBE, email to debian-beowulf-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
--
Dejan Muhamedagic mailto:dejan@quant-x.com
UNIX and Linux Support mailto:support@quant-x.com
Quant-X Service & Consulting Ges.m.b.H. http://www.quant-x.com
Phn: +43 4212 90555-0 Fax: 90555-20 Free: +800 90555 000
Reply to:
- References:
- Fast blas1
- From: Adam C Powell IV <hazelsct@mit.edu>
- Re: Fast blas1
- From: "Marcelo E. Magallon" <marcelo.magallon@bigfoot.com>