In a long file i’m searching for something like this:
c 0.5p_f
10 px 2
I need to modify a 3rd column of a line after ‘c 0.5p_f’ marker.
It’s part of a bash script that would do this and i would like to avoid using, like, awk scripts, only bash commands.
Why not use
awk? It’s perfect.If you can use
sedscripts,would do. Not that pure Bash is hard either, though.