Linux Sed Bug
王森 <[email protected]>
| Newsgroups | gmane.comp.gnu.utils.bugs |
|---|---|
| Message-ID | <[email protected]> |
Hi ### tmp.txt ### [root@localhost learn_sed]# cat tmp.txt hello world I'am in china [root@localhost learn_sed]# [root@localhost learn_sed]# sed --version GNU sed version 4.2.1 [root@localhost learn_sed]# sed 's/$/ End/' tmp.txt hello world End I'am in china End [root@localhost learn_sed]# [root@localhost learn_sed]# [root@localhost learn_sed]# sed "s/\'/ End/" tmp.txt hello world End I'am in china End [root@localhost learn_sed]# ### My Question I want to know the reason. \' be equal to Line End ?? If possible , tell me why ? thanks