loop jumping

2004-06-15 Thread kof
Hi All, I am trying to make subroutine which asks (via a regular expr) where some files are and then list them - but I would like it to jump back to the start of the loop if it does not find any files. The jumping part works if there are only files in the folder, as soon as there are files and

Read from tape device

2004-03-09 Thread kof
Hi All, I am trying to read some data from af unix tape device. The have several files with "end of file markers". Can I read from tape devices at all? I tried "open" on the device and this one reads all files on the tape into the first file and then hangs. Is it my code (I know the first loop

Re: text modify

2003-11-11 Thread kof
Hi Rob, Your script just hit the spot! Thanks Jakob Rob Dixon <[EMAIL PROTECTED]> wrote: > <[EMAIL PROTECTED]> wrote: > > > > I have some data column based data I want to modify a > bit. > > > > 0065 663 517 046 0 1485 > > 0065 663 517 046 3 1500 > > 0065 663 517 046 5 1882 > > 0120 620 515 9

text modify

2003-11-10 Thread kof
Hi, I have some data column based data I want to modify a bit. 0065 663 517 046 0 1485 0065 663 517 046 3 1500 0065 663 517 046 5 1882 0120 620 515 919 0 1485 0120 620 515 919 6 1816 0120 620 515 919 8 2136 I would like to add a counter to column 5 to fill out the gaps in between e.g. 0 an

Last value in a array?

2003-08-14 Thread kof
Hi, I have a couple of arrays which have different number of values - I need only the last value in each - are there a command to do that? e.g $array[LAST] :-) or maybe a way to count each value in a given array? and then feed the $array[??] with that? Thanks, Jakob -- To unsubscribe, e-ma