sed 's/ / /' somefile > somefile
이렇게 하니 somefile 이 텅~ 비어 버리네요...옵션으로 한방으로는 안되나요?
sed -i '/regexp1/regexp2/' filename
extra characters at the end of p command
이런 에러가..
걍 두방으로 해결했습니다 --;
awk나 nawk을 쓰는 것도 괜찮을듯 보입니다..
텍스트 포맷에 대한 자세한 정보
<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]
[code:1]sed -i '/regexp1/regexp2/' fil
-_-
extra characters at the end of p command
이런 에러가..
-_-;;
걍 두방으로 해결했습니다 --;
awk나 nawk을 쓰는 것도 괜찮을듯 보입니다..
awk나 nawk을 쓰는 것도 괜찮을듯 보입니다..
댓글 달기