M DXYZ
asked on
bash sed insert text to a line that matches
hi,
I need assistance inserting in a line that matches certain word astring, this is for the bash_profile file.
PATH=/usr/local/jruby/bin: $JAVA_HOME /bin:$PATH :$HOME/bin
I would like to insert another path at the end of the line using sed. I would appreciate your input.
Regards,
Michael
I need assistance inserting in a line that matches certain word astring, this is for the bash_profile file.
PATH=/usr/local/jruby/bin:
I would like to insert another path at the end of the line using sed. I would appreciate your input.
Regards,
Michael
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.