dickiebird
Programmer
Hi Experts
I'd like to suppress output from a script and don't
know / can't remember how to !
Example
echo "The following files are available for processing"
integer i=1
for file in `ls -l Tc??????.txt | awk '{printf("%s\n", $9);}' 2>/dev/null`
do
ORTRARRAY[$i]="$file"
echo "("${i}" " ${ORTRARRAY[$i]}
i=i+1
done
I'd like to show the neatly formatted array output - but not the output of the `ls -l` line
Any thoughts ????
Thanks in advance
DB Dickie Bird
db@dickiebird.freeserve.co.uk
I'd like to suppress output from a script and don't
know / can't remember how to !
Example
echo "The following files are available for processing"
integer i=1
for file in `ls -l Tc??????.txt | awk '{printf("%s\n", $9);}' 2>/dev/null`
do
ORTRARRAY[$i]="$file"
echo "("${i}" " ${ORTRARRAY[$i]}
i=i+1
done
I'd like to show the neatly formatted array output - but not the output of the `ls -l` line
Any thoughts ????
Thanks in advance
DB Dickie Bird
db@dickiebird.freeserve.co.uk