Search Results

Search: Posts Made By: capilla
1,677
Posted By RudiC
small corrections to the suggestions will make...
small corrections to the suggestions will make them work.
1) remove excess spaces using sed:sed 's/ */ /g;s/^ //' extractcritiques.txt|cut -d' ' -f2- |paste -sd';\n'2) invert the result of the...
1,677
Posted By Scrutinizer
Slight mod to vgersh's awk: awk 'FNR%2...
Slight mod to vgersh's awk:
awk 'FNR%2 {name=$2; next} {print name, $2}' OFS=';' infile
alternatively:
awk '{name=$2; getline; print name, $2}' OFS=';' infile
1,598
Posted By elixir_sinari
nawk '/busti/ && match($8,/(\/[^\/]*){5}/) {print...
nawk '/busti/ && match($8,/(\/[^\/]*){5}/) {print substr($8,RSTART,RLENGTH)}' ruta.txt
Showing results 1 to 3 of 3

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