A huge collection of tips – things I always forget and helping me and others to remember
[bash – sed] show 1st 5 chars, del rest
sed -e ‘s/^\(.\{,5\}\).*$/\1/g’
This entry was posted on Sunday, October 12th, 2008 at 7:02 pmand is filed under . You can follow any responses to this entry through the RSS 2.0 feed.
Both comments and pings are currently closed.