Hello
I have a program cfxfrwb which is designed to remove headers from reports files.
The cfxfrwb is located in the following directory /u01/efin/v40/live/bin
I run the program against a single report file in the temp directory and it does it's job.
./cfxfrwb /home/efin/efintran/temp/cli_r02r0051.prt
I'd like to run the ./cfxfrwb against several report files.
I modified a script I found on the web but it doesn't seem to work
#!/bin/bash
FILES=/home/efin/efintran/temp/*
for f in $FILES
do cfxfrwb
echo "Processing $f file..."
# take action on each file. $f store current file name
cat $f
done
I'd be grateful if someone could offer some assistance.
Many thanks