On Thu, Oct 29, 2009 at 2:08 PM, erik quanstrom <[email protected]> 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
