Search Results

Search: Posts Made By: gauravah
3,420
Posted By jim mcnamara
Write the variable (value) to a file, then read...
Write the variable (value) to a file, then read the file every time the script runs.

fname=/tmp/count.deposit
if [ ! -r $fname ]; then
COUNT_DEPOSIT=0

else
COUNT_DEPOSIT=$(< $fname )

...
2,884
Posted By ctsgnb
nawk -F\| '/CALLS/{getline;getline;print $5}'...
nawk -F\| '/CALLS/{getline;getline;print $5}' inputfile
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 06:20 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy