[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
sed newline bug (sed 3.2)
From: |
galeran |
Subject: |
sed newline bug (sed 3.2) |
Date: |
Mon, 25 Oct 2004 13:57:16 +0200 |
Sed version 3.2 does recognize the \n sequence in the s/// command's
regexp part, but doesn't recognize neither \n or \<newline> sequence in
the substitution part of the s/// command or the dest part of the y//
command, although in the sed manual, it is specifically stated that
newline sequence in supported in the substitution part of the s///
command.
For Example, the following command:
sed -e N -e 's/\n/\n\n/g'
just insert plain n's and not newline character.
Eran
- sed newline bug (sed 3.2),
galeran <=