Search Results

Search: Posts Made By: apresa
1,771
Posted By apresa
Sorry but it doesn't work me. My problem is how...
Sorry but it doesn't work me. My problem is how put these pattern using a variable. If I put a constant I don't have any problem.
1,771
Posted By apresa
Problem with variables in awk
Hi,


I've a problem with wariables in awk.

My example:


$ cat test.txt
12|aaaa
13|bbbb
012|cccc
0123|dddd


$ cat test.awk
$1 == var {print $0}

$ cat test.sh ...
Showing results 1 to 2 of 2

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