Search Results

Search: Posts Made By: oombera
27,117
Posted By oombera
Actually, the structure while read someVariable...
Actually, the structure
while read someVariable
do
stuff
done < fileNameis just a way to step through a file. With each iteration of the "while" loop, the next line in fileName is stored in...
27,117
Posted By oombera
This'll work for you, unless you really wanted to...
This'll work for you, unless you really wanted to use vi commands for some reason...while read LINE
do
echo $LINE >> resultFile
echo $LINE | grep -q "CREATE TABLE"
if [ $? -eq 0 ]; then
...
Showing results 1 to 2 of 2

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