Quantcast
Channel: linuxadmin: Expanding Linux SysAdmin knowledge
Viewing all articles
Browse latest Browse all 17856

How to use different delimiter in sed (append mode)?

$
0
0

Im trying to run something like this:

sed '|$UNIXPATH|a $OTHERUNIXPATH' $FILE

I will like to use pipe as a delimiter not "/" (not sure if is possible)

(will be nice to know if is possible to change delimiter when sed is append mode)

submitted by evilbuffer
[link][8 comments]

Viewing all articles
Browse latest Browse all 17856

Trending Articles