Use :s/x/^M/ to replace x with a newline. The "^M" gets typed in as Control-V Control-M. Works for me on HP-UX 6.5. Guenter Steinbach gunter_steinbach at hplabs.hp.com