Guides 11791 Published by

nixCraft published a quick tutorial about how to sed remove last character from each line.



sed remove last character from each line on Linux / Unix

Explains how to remove/delete the last character from the line stored in a text file or shell variable using sed command on Linux/macOS/BSD and Unix-like OS



sed remove last character from each line on Linux / Unix - nixCraft