Skip to content

Instantly share code, notes, and snippets.

@relax-more
Created January 16, 2013 02:15
Show Gist options
  • Save relax-more/4544045 to your computer and use it in GitHub Desktop.
Save relax-more/4544045 to your computer and use it in GitHub Desktop.
LINUX でファイル内容の(先頭|最後)に文字を挿入する
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