Skip to content

Instantly share code, notes, and snippets.

@tuki0918
Created March 6, 2014 13:05
Show Gist options
  • Save tuki0918/9389142 to your computer and use it in GitHub Desktop.
Save tuki0918/9389142 to your computer and use it in GitHub Desktop.
sed: RE error: illegal byte sequence
tuki0918:ramdisk tuki0918$ export LANG=C
tuki0918:ramdisk tuki0918$ sed -e "s/before/after/g" reed.csv > out.csv
tuki0918:ramdisk tuki0918$ sed -e "s/before2/after2/g" out.csv > out.csv
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment