Created
January 16, 2013 02:15
-
-
Save relax-more/4544045 to your computer and use it in GitHub Desktop.
LINUX でファイル内容の(先頭|最後)に文字を挿入する
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sed -e "s/^/'any_replace_words'" input.txt | |
sed -e "s/$/'any_replace_words'" input.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment