I have a file in my UNIX server whose content is like this:
I need to parse the content to find out if the number is > 0. There are leading and trailing spaces in the line myfile.txt .
How could I compare the content... Any suggestion could be very helpful..Below is my code and pseudo code... Thnak you!
##Content of the .sh file:
touch $tmp && chmod 600 $tmp;
/bin/cat /usr/mydir/myfile.txt >> $tmp