SyntaxFix
Write A Post
Hire A Developer
Questions
Don't use sed, use cut:
sed
cut
grep .... | cut -c 1-N
If you MUST use sed:
grep ... | sed -e 's/^\(.\{12\}\).*/\1/'