Search Results

Search: Posts Made By: fugitivus
2,489
Posted By RudiC
For your original scenario, this might do:awk ...
For your original scenario, this might do:awk '/{/ {delete T}
T[$0]++ {next}
1
' file
For RavinderSingh's extended sc., try awk '/{/ ...
2,489
Posted By RavinderSingh13
Hello, Glad that given code is helpful for...
Hello,

Glad that given code is helpful for you, following are some links which can be helpful to you for awk learning.

http://www.staff.science.uu.nl/~oostr102/docs/nawk/nawkA4.pdf...
2,489
Posted By RavinderSingh13
Hello Fugitivus, Following may help you in...
Hello Fugitivus,

Following may help you in same, let's say we have following input file.
Input file:

cat tst4567
{
aaa
bbb
aaa
ccc
}
{
aaa
aaa
}


Then we can...
Showing results 1 to 3 of 3

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