Search Results

Search: Posts Made By: haaru
8,426
Posted By dr.house
How about ... #!/bin/bash cat...
How about ...


#!/bin/bash

cat in.file | while read LINE
do
case $LINE in
"20") echo "Choice A" >> out.file ;;
"70") echo "Choice B" >> out.file ;;
"80") echo "Choice C" >>...
7,266
Posted By steviefordi
Ok another thing to try - What is the exit...
Ok another thing to try -

What is the exit status of the grep line when EachLine2 contains the empty string. I think that it is failing and causing your loop to exit.

Personally I would add...
Showing results 1 to 2 of 2

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