Re: A Simple Scripting Question

2005-05-08 Thread Alan Chandler
On Sunday 08 May 2005 06:36, Byron Hillis wrote: > Hi everybody, > > A bit off topic, but it is on a Debian machine. Here's the situation. I've > got a bunch of files layed out like this... > > /cvs/proj/src/rs232/rs232.asm > /cvs/proj/src/rs232/include/rs232_include.inc > /cvs/proj/src/rs232/inclu

RE: A Simple Scripting Question

2005-05-07 Thread Byron Hillis
> > > > > > A="/cvs/proj/src" > > > B="/code" > > > find "$A/" |while read line; do > > > X=$(echo "$line"|cut -d/ -f6-); > > > > X=$(echo "$line"|baseline); > > Argh, that should have been: > > > X=$(echo "$line"|basename); > > >

Re: A Simple Scripting Question

2005-05-07 Thread Allan Wind
On 2005-05-08T02:05:53-0400, Allan Wind wrote: > On 2005-05-08T02:02:27-0400, Kevin Mark wrote: > > my 2 cents > > Nice. > > > > > A="/cvs/proj/src" > > B="/code" > > find "$A/" |while read line; do > > X=$(echo "$line"|cut -d/ -f6-); > >

Re: A Simple Scripting Question

2005-05-07 Thread Allan Wind
On 2005-05-08T02:02:27-0400, Kevin Mark wrote: > my 2 cents Nice. > > A="/cvs/proj/src" > B="/code" > find "$A/" |while read line; do > X=$(echo "$line"|cut -d/ -f6-); X=$(echo "$line"|baseline); > ln -s "$line" "$B/$X"; > d

Re: A Simple Scripting Question

2005-05-07 Thread Kevin Mark
On Sun, May 08, 2005 at 03:36:23PM +1000, Byron Hillis wrote: > Hi everybody, > > A bit off topic, but it is on a Debian machine. Here's the situation. I've > got a bunch of files layed out like this... > > /cvs/proj/src/rs232/rs232.asm > /cvs/proj/src/rs232/include/rs232_include.inc > /cvs/proj/

A Simple Scripting Question

2005-05-07 Thread Byron Hillis
Hi everybody, A bit off topic, but it is on a Debian machine. Here's the situation. I've got a bunch of files layed out like this... /cvs/proj/src/rs232/rs232.asm /cvs/proj/src/rs232/include/rs232_include.inc /cvs/proj/src/rs232/include/rs232.inc /cvs/proj/src/a2d/a2d.asm /cvs/proj/src/a2d/includ