From: Matthew Sammon (sammonm at domain tcd.ie)
Date: Tue 05 Oct 1999 - 18:17:00 IST
Just a quick question:
How do I replace newlines with something else in multiple
files, preferably using awk or sed?
I need to replace:
I have tried using gsub(/\n:/,":"), gsub(/\n$:/,":"), gsub(/\n$^:/,":")
and gsub(/\n^:/,":") within an awk script, doesn't work tho.
Matthew Sammon |
Yr2 CompSci TCD |
sammonm at domain tcd.ie |
This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:04:40 GMT