DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR SHELL
remove last n characters from stdin
sed 's/.$//' #To remove the last character sed 's/.....$//' #To remove the last 5 characters
PREVIOUS
NEXT
Tagged:
#remove
#characters
#stdin
ADD COMMENT
Topic
COMMENT
Name
2+4 =
Submit