I am trying to append and prepend text to every line in a .txt file.
I want to prepend:
I am a
I want to append:
to every line.
Inside of a.txt:
fruit, like bike, like dino, like
Upon performing the following command:
$ cat a.txt|sed 'I am a ',' 128... [}'
it does not work how I want it to. I would really want it to say the following:
I am a fruit, like 128... [} I am a bike, like 128... [} I am a dino, like 128... [}