IT-Dienstleistungen

colrm

All posts

FreeBSD

Remove same position characters from each line in text file

cat text.txt
line one
line two

# remove second and third character from all lines in text file
cat text.txt | colrm 2 3
le one
le two