Search Results

Search: Posts Made By: fabi20
4,510
Posted By fabi20
thanks a lot for the help...a last question..it's...
thanks a lot for the help...a last question..it's possible to set the external variable of this case :

awk -v v="CHE" '{_[NR]=$0}{for(x=0;x++<NF;)if($x==v){for(y=4;--y;) print _[(NR-y)];printf...
4,510
Posted By fabi20
how Print previous line ..........
HELLO...I wanted to ask you, than sure know unix more than me, as I can obtain the following solution: I have a file with rows of the type:

CIAO COME STAI
PERCHE COME STAI
CIAO COME VA
ALLO...
1,409
Posted By fabi20
stampare righe precedenti ad un match in file
Salve a tutti...volevo chiedere a voi,che sicuramente ne sapete piu di me,come posso ottenere la seguente soluzione:

ho un file del tipo:

CIAO COME STAI
PERCHE COME STAI
CIAO COME VA
ALLO...
Showing results 1 to 3 of 3

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