Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: $Revision: 1.6.2.16 $; site ima.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!think!harvard!bbnccv!ima!johnl From: johnl@ima.UUCP Newsgroups: net.lang.c Subject: Re: program needed Message-ID: <100700001@ima.UUCP> Date: Tue, 3-Sep-85 16:34:00 EDT Article-I.D.: ima.100700001 Posted: Tue Sep 3 16:34:00 1985 Date-Received: Thu, 5-Sep-85 20:22:56 EDT References: <268@proper.UUCP> Lines: 13 Nf-ID: #R:proper:-26800:ima:100700001:000:421 Nf-From: ima!johnl Sep 3 16:34:00 1985 /* Written 12:45 am Aug 30, 1985 by elric@proper in ima:net.lang.c */ > I was wondering if someone might have a program that would look for a line > constiting of only a and add a space to that line (and any others). That's easily done in several ways without writing any C code. For example, do this: sed 's/^$/ /' yourfile Followups, if absolutely necessary, to net.unix, please. John Levine, ima!johnl