Created
June 2, 2017 20:49
-
-
Save cdolek/63ddb3711264ad602368baaa306906a0 to your computer and use it in GitHub Desktop.
Remove first and last character from csv
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
rev input.csv | cut -c2- | rev | cut -c2- | |
Or | |
sed 's/.$//; s/^.//' input.csv |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment