Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

sed replace specific character position

sed -E 's/^(.{11})49/158/' data.txt
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #sed #replace #specific #character #position
ADD COMMENT
Topic
Name
1+3 =