From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <5f7c2191ead171fd9096d059fdba6879@brasstown.quanstro.net> References: <5f7c2191ead171fd9096d059fdba6879@brasstown.quanstro.net> Date: Thu, 29 Oct 2009 14:29:41 -0200 Message-ID: From: Iruata Souza To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=UTF-8 Subject: Re: [9fans] sed question (OT) Topicbox-Message-UUID: 936845a4-ead5-11e9-9d60-3106f5b1d025 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