On Thu, 25 May 2006, "Nikolaos A. Patsopoulos" apparently 
wrote: 
> In detail: 1.I want in front of the number in the first 
> column to add  "#" , then change line after the value 2. 
> change line after 3rd column 3. change line after 5th 
> column 4. repeat all three steps 

%s/^\(\d\+\)\s\+\([01]\)\s\+\([01]\)\s\+\([01]\)\s\+\([01]\)\s*/#\1\r\2 \3\r\4 
\5

hth,
Alan Isaac




Reply via email to