From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <80c99e790910290906t36766978kcd38c9583392e038@mail.gmail.com> References: <80c99e790910290906t36766978kcd38c9583392e038@mail.gmail.com> Date: Thu, 29 Oct 2009 14:33:29 -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: 936c09f0-ead5-11e9-9d60-3106f5b1d025 On Thu, Oct 29, 2009 at 2:06 PM, Lorenzo Bolla wrote: > To capitalize the first letter of each line wouldn't this be enough? > s/^./\u&/ > > L. % echo rwrong | sed 's/^./\u&/' urwrong