I forgot the "9". This works for GNU sed version 4.2.1 L. On Thu, Oct 29, 2009 at 4:33 PM, Iruata Souza wrote: > 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 > >