From mboxrd@z Thu Jan 1 00:00:00 1970 From: erik quanstrom Date: Thu, 29 Oct 2009 12:31:41 -0400 To: 9fans@9fans.net Message-ID: <98f84e4cfbb56eb6e93bdd18a3360e9a@brasstown.quanstro.net> In-Reply-To: <> References: <> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] sed question (OT) Topicbox-Message-UUID: 936fdb84-ead5-11e9-9d60-3106f5b1d025 On Thu Oct 29 12:31:23 EDT 2009, iru.muzgo@gmail.com wrote: > On Thu, Oct 29, 2009 at 2:08 PM, erik quanstrom wrote: > >> To capitalize the first letter of each line wouldn't this be enough? > >> > >> s/^./\u&/ > > > > ; echo abc def | sed 's/^.\u&/' > > sed: s command garbled: s/^.\u&/ > > > > i guess you missed the second slash > now it is less helpful: ; echo abc def | sed 's/^./\u&/' uabc def - erik