Hi,
at the moment I am writing some code; such as follows....
How can I get the following code to process until I find every line containing Test, at the moment the prog. is working sequentially - ie from top to bottow, which I don't want...
{
i=1
while( $0 ~ /TEST/){
print FNR > "/tmp/list1"
getline < "/tmp/list1"
list1 = $0
print list1
i++
}
L.
at the moment I am writing some code; such as follows....
How can I get the following code to process until I find every line containing Test, at the moment the prog. is working sequentially - ie from top to bottow, which I don't want...
{
i=1
while( $0 ~ /TEST/){
print FNR > "/tmp/list1"
getline < "/tmp/list1"
list1 = $0
print list1
i++
}
L.