i have following input file...
$1 taken from user will be matched with 00016 (cut -c 4-8)
here i have to cut -c 40-86 to display CASH DEPOSIT FOR FC but the condition is that first 3 characters must be 003.
in short..
display CASH DEPOSIT FOR FC where $1=`cut c 4-8` and first 3 characters are 003...
Last edited by Franklin52; 04-01-2011 at 06:20 AM..
Reason: Please use code tags
I'm trying to add logging to an existing script which echos a number of lines to the screen. I've added a switch to the script that is going to suppress much of this output and put it in a file instead.
The way I envisioned it was like this:
$log would be set to either "" or the log files... (8 Replies)