[prev in list] [next in list] [prev in thread] [next in thread]
List: busybox
Subject: sed: missing LF
From: "Thomas Necker" <Thomas.Necker () marconi ! com>
Date: 2007-02-28 16:30:18
Message-ID: OF758DBA6F.2C713D02-ONC1257290.005A3C0E () uk ! marconicomms ! com
[Download RAW message or body]
I have the following file test.cfg:
ADDRESS=
NETMASK=
GATEWAY=
When I issue the command
sed "/^ADDRESS/c\ADDRESS=1.2.3.4"
I get
ADDRESS=1.2.3.4NETMASK=
GATEWAY=
instead of
ADDRESS=1.2.3.4
NETMASK=
GATEWAY=
So, a LF is missing. I'm using Busybox 1.4.0. It worked with 1.0.
Thomas
_______________________________________________
busybox mailing list
busybox@busybox.net
http://busybox.net/cgi-bin/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic