linux 에서 sed 로 문서파일을 편집/치환할 수 있잖아요.
그런데 가령 'hellow' hellow -> 'love' heelow 로 치환 할때
sed -e 's/'\'hellow\'/\'love\'/g' -i data.txt
로 하면 애러가 나던데 중간에 '(single quta) 를 escape 처리할려면 어떻게 해야 하나요?
알려주시면 감사하겠습니다.
텍스트 포맷에 대한 자세한 정보
<code>
<blockcode>
<apache>
<applescript>
<autoconf>
<awk>
<bash>
<c>
<cpp>
<css>
<diff>
<drupal5>
<drupal6>
<gdb>
<html>
<html5>
<java>
<javascript>
<ldif>
<lua>
<make>
<mysql>
<perl>
<perl6>
<php>
<pgsql>
<proftpd>
<python>
<reg>
<spec>
<ruby>
<foo>
[foo]
댓글 달기