On Thu, 2016-07-21 at 11:12 -0400, Jon LaBadie wrote:
> On Thu, Jul 21, 2016 at 01:20:37PM +0100, Patrick O'Callaghan wrote:
> > 
> > On Thu, 2016-07-21 at 13:44 +0200, Maurizio Marini wrote:
> > > 
> > > Hello
> > > after last upgrade of Fedora23 => Fedora24
> > > I lost my knote note, I had only one note but full of precious notes
> > > I have an old version:
> > > /home/maumar/.kde/share/apps/knotes/notes.ics
> > > but it is full of \n
> > > is there a perl line for converting \n into cr?
> > > perl, python, sed ...whatsover...
> > > 
> > > This way I can get my note back; old, but better than nothing :)
> > > Thanks in advance
> > > 
> > 
> > tr '\n' '\r' < input > output
> > 
> 
> That could result in double spaced "output"
> If so, try:
> 
>   tr -d '\n' < input > output2

The OP asked about converting NL to CR, not CRNL to CR. I've no idea if
that's what he meant of course.

poc
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

Reply via email to