# Format .addressbook to vim abbrevations :redo # Define label redo $ s/\([^ ]*\) [^ ]* \([^ ]*\).*/ab mm\1 \2\3/ N /\n / !{ s/\([^ ]*\) [^ ]* \([^ ]*\)[^\n]*\(\n\)/ab mm\1 \2\3/ P D } s/\n//g s/ *//g b redo ### colorized by sedsed, a debugger and code formatter for sed scripts ### original script: http://www.bitterberg.de/tilmann/pine_addr_2_vim_ab.sed