Search Results

Search: Posts Made By: rajiv_kool
1,014
Posted By rajiv_kool
I changed my code to: YEAREXPORT { FILE=...
I changed my code to:
YEAREXPORT {

FILE= xyz.txt

ls ABC* -l > ${FILE}

if [ ! -f ${FILE} ]; then
log_err "Trigger File ABC* does not exist!"
fi


while read LINE
do
log_msg...
1,014
Posted By rajiv_kool
Word Count error
I need to read a trigger file whose name can be:
ABC!DEF@2014.txt
or
ABC!DEF@2014,2015.txt

and then carry out functions on those inputs.

Currently I am doing:

YEAREXPORT {

FILE=...
2,230
Posted By rajiv_kool
Moving cat values to a variable
I have a file created as ABC!DEF@2014.txt

My if condition is based on 2014 so I need to move it to variable.

So while I can do this on console screen -
ls ABC* -l > test.txt
cat test.txt |...
Showing results 1 to 3 of 3

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