Re: conversion of notes.ics in a text format

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://lists.fedoraproject.org/admin/lists/users@xxxxxxxxxxxxxxxxxxxxxxx
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



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux