Apologies to all I have been off for a couple of days, but thanks to all who came to my aid... in the end I went with..
file=`echo $line | perl -n -l -e ' ($f) = $_ =~ m!.*/(\w+.csv)!i; print $f'I think my shell collegues were wary of this kind of magic :-) once again my thanks to you all
In reply to Re^2: Obtain CSV Fiile from text
by sherbertpunt
in thread Obtain CSV Fiile from text
by sherbertpunt
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |