cat sed-examples
this_is_a_file_to_stat_edid
ab
343
13524365476586o
FINEME
OKME
dasfgh
this_is_a_file_to_stat_edid
ab
343
13524365476586o
FINEME
OKME
dasfgh
i want to see the output as this_is_a_file_to_stat_edid FINEME OKME
using sed
tried
sed -n -e '/edid/ {h;n;n;n;H;x;p}h'
it returns this_is_a_file_to_stat_edid FINEME but not OKME
Aucun commentaire:
Enregistrer un commentaire