Remove a special character and Insert that to a line
Posted
by
Kraj
on Stack Overflow
See other posts from Stack Overflow
or by Kraj
Published on 2013-10-31T15:16:31Z
Indexed on
2013/10/31
15:53 UTC
Read the original article
Hit count: 260
How to remove a special character(#) from a big file and insert that character to a particular line for example
input.tsv
$22 23 24 25 26
33 33 34 35 36
44 45 46 47 48
ID ID1 ID2 ID3 ID4
Output.tsv
22 23 24 25 26
33 33 34 35 36
44 45 46 47 48
$ID ID1 ID2 ID3 ID4
I've used the sed -e 's/#//g' input.tsv
file to remove the '$' then how can I include '$' to the line starting with ID
© Stack Overflow or respective owner