The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM



Thread: Line Splitting
View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #3 (permalink)  
Old 11-29-2005
mona's Avatar
mona mona is offline
Registered User
 

Join Date: Nov 2005
Location: Singapore
Posts: 96
using sed

Code:
echo "0102030405" | sed 's/\(..\)/\1\
/g'
Reply With Quote