Search Results

Search: Posts Made By: senormarquez
2,871
Posted By zaxxon
Try: grep -vwf 37ips.txt wholelist.txt >...
Try:

grep -vwf 37ips.txt wholelist.txt > newfile.txt
1,654
Posted By guruprasadpr
Hi You can use it in this way then; ...
Hi
You can use it in this way then;

DUMP_COUNT=`expr $DUMP_COUNT + 0`

In fact, you have many other way to get the same: different ways of arithmetic operations...
12,828
Posted By a_programmer
If you are trying to compare numbers, use the...
If you are trying to compare numbers, use the numeric comparison operator:

80 if [ "${NUM1}" -ne "${NUM2}" ]


Or:

80 if (( NUM1 != NUM2 ))
12,828
Posted By Franklin52
Remove the spaces around the "+" sign: let...
Remove the spaces around the "+" sign:
let NUM1=$NUM1b+`grep "Table dropped" ${TMPFILE1} |wc -l`

or use the POSIX way to add the values:
NUM1=$((NUM1b + `grep "Table dropped" ${TMPFILE1} |wc...
Showing results 1 to 4 of 4

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