How to editing a txt file

Hi all,

i am trying to add a word at the end of first line of the txt file. can anyone tell me how to do it, Thanks.

I wish to say 'use a text editor', however, can you explain more? There must be more to it here.

sad angle

0000|123568|d|N|3|0000000000000000|S|Y|0|a|P|0|9|001|32|75||123456
0201|-484.00|1570.00|1086.00|0.00|1570.00
0901|

The file look like that and i wanted to add |070308 to the end of first line, see if you can help thanks

word=whatever
{
  IFS= read -r line
  printf "%s %s\n" "$line" "$word"
  cat
} < FILENAME > NEWFILE