Hi I am having some problems with this.
I have a original file:
$cat original.txt
User has access to the system
And a second file with the content I want to add to the original file:
$cat toAdd.txt
Anna
The result should be as follows:
$cat original.txt
User Anna has access to the system
I tried with several options such as:
sed '/has/e cat toAdd.txt' original.txt
but it is not working :-(
Please help!!