conversion of notes.ics in a text format

2016-07-21 Thread Maurizio Marini
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

sed question

2016-07-21 Thread bruce
Hey guys.. Sed question.. should be simple, but after stack/net searches, lots or trials.. can't seem to get it.. I've got a case foo('txt') foo("txt") I'd like to have foo('/dir1/txt') foo("/dir1/txt") Now. I do a simple sed search/replace if it just focuses on the txt, but crafting a sed th

Re: sed question

2016-07-21 Thread Todor Petkov
On Thu, Jul 21, 2016 at 3:00 PM, bruce wrote: > Hey guys.. > > Sed question.. should be simple, but after stack/net searches, lots or > trials.. can't seem to get it.. > > I've got a case > > foo('txt') > foo("txt") > > I'd like to have > > foo('/dir1/txt') > foo("/dir1/txt") > > Now. I do a simpl

Re: conversion of notes.ics in a text format

2016-07-21 Thread Patrick O'Callaghan
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 lin

Re: sed question

2016-07-21 Thread bruce
Hey Tudor, and others.. The test sed I posted works for doing a search/replace of the text inside the parens... > foo('txt') > foo("txt") however.. if i wanted to craft a sed that uses the entire >>foo('txt')<< as the search.. then I run into the need to handle the parens.. and that's the issue.

Re: sed question

2016-07-21 Thread Todor Petkov
On Thu, Jul 21, 2016 at 3:26 PM, bruce wrote: > Hey Tudor, and others.. > > The test sed I posted works for doing a search/replace of the text inside > the parens... > >> foo('txt') >> foo("txt") > > however.. if i wanted to craft a sed that uses the entire >>foo('txt')<< as > the search.. then I

Re: sed question

2016-07-21 Thread bruce
hey todor.. I'll give it a try.. I was thinking it's the parens.. overlooked the fact that i introduced '/' in the replace.. which might have caused issue.. but the '/' was successful in the test with just the text inside the ().. On Thu, Jul 21, 2016 at 8:59 AM, Todor Petkov wrote: > On Th

Re: sed question

2016-07-21 Thread Tom Rivers
On 7/21/2016 8:26 AM, bruce wrote: Hey Tudor, and others.. The test sed I posted works for doing a search/replace of the text inside the parens... > foo('txt') > foo("txt") however.. if i wanted to craft a sed that uses the entire >>foo('txt')<< as the search.. then I run into the need to h

Re: sed question

2016-07-21 Thread Tethys
On Thu, Jul 21, 2016 at 1:00 PM, bruce wrote: > Now. I do a simple sed search/replace if it just focuses on the txt, but > crafting a sed that uses the entire input as a search due to the parens '()' > is a bit painful! Doing the sed using the \( for the ( wasn't quite > successful! localhost:~

Re: conversion of notes.ics in a text format

2016-07-21 Thread Jon LaBadie
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/mau

Re: conversion of notes.ics in a text format

2016-07-21 Thread Patrick O'Callaghan
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

Re: sed question

2016-07-21 Thread bruce
thanks.. guys.. just a brain screwup.. should be ok now.. thanks for the eyeballs.. owe you guys oj! On Thu, Jul 21, 2016 at 11:01 AM, Tethys wrote: > On Thu, Jul 21, 2016 at 1:00 PM, bruce wrote: > > > Now. I do a simple sed search/replace if it just focuses on the txt, but > > crafting a

Re: sed question

2016-07-21 Thread Jon LaBadie
On Thu, Jul 21, 2016 at 08:00:44AM -0400, bruce wrote: > Hey guys.. > > Sed question.. should be simple, but after stack/net searches, lots or > trials.. can't seem to get it.. > > I've got a case > > foo('txt') > foo("txt") > > I'd like to have > > foo('/dir1/txt') > foo("/dir1/txt") > > Now

Custom resolutions in LXDE in Fedora 24

2016-07-21 Thread Kalpa Welivitigoda
Hi, I am using a Thinkpad X1 Carbon laptop with Fedora 24 LXDE spin installed. The default resolution of 2560x1440 is too small and irritates my eyes. I tired changing the resolution with lxrandr but couldn't find any resolution which is compatible with the screen ratio of 16:9. Is there any way

Re: sed question

2016-07-21 Thread R. G. Newbury
Date: Thu, 21 Jul 2016 08:00:44 -0400 From: bruce Subject: sed question Hey guys.. Sed question.. should be simple, but after stack/net searches, lots or trials.. can't seem to get it.. I've got a case any thoughts on how to handle the parens would be cool! just irks me that I couldn't se

Re: Custom resolutions in LXDE in Fedora 24

2016-07-21 Thread Rick Stevens
On 07/21/2016 11:34 AM, Kalpa Welivitigoda wrote: > Hi, > > I am using a Thinkpad X1 Carbon laptop with Fedora 24 LXDE spin > installed. The default resolution of 2560x1440 is too small and > irritates my eyes. > > I tired changing the resolution with lxrandr but couldn't find any > resolution wh

Re: conversion of notes.ics in a text format

2016-07-21 Thread Maurizio Marini
Hello Patrick If you have fedora kde, I think you have a notes.ics somewhere before kde 4.3, it was here ~/.kde/share/apps/knotes/notes.ics It is full of \n like this excerpt " \n\n\n\n\n\n\n\n\npush "\;route 10.0.0.0" I wuold easily convert \n in real carriage return to have a text file not

Re: conversion of notes.ics in a text format

2016-07-21 Thread Rick Stevens
On 07/21/2016 12:59 PM, Maurizio Marini wrote: > Hello Patrick > > If you have fedora kde, I think you have a notes.ics somewhere > > before kde 4.3, it was here > ~/.kde/share/apps/knotes/notes.ics > > It is full of \n like this excerpt > > " \n\n\n\n\n\n\n\n\npush "\;route 10.0.0.0" > > I w

Can't create personal fedora wiki page

2016-07-21 Thread Frederico Lima
Hello everyone, One friend of mine created a FAS account and when he use wiki page for create one, "https://fedoraproject.org/wiki/User:Greysonsilva"; the page says "User account "Greysonsilva" is not registered." he assigned the CLA, and the account is Active. I told him to click in "creat

Re: conversion of notes.ics in a text format

2016-07-21 Thread Maurizio Marini
Hello Rick > The standard end-of-line marker in Linux/Unix is a newline or "\n" and > any Linux text editor would have no problem with it. that are not newline chr(10) that are chr(92) followed by chr(110) hexdump -C notes.ics a910 65 63 20 72 65 77 72 69 74 65 20 73 73 6c 20 61 |ec rewri

Re: Can't create personal fedora wiki page

2016-07-21 Thread Matthew Miller
On Thu, Jul 21, 2016 at 06:47:49PM -0300, Frederico Lima wrote: > Hello everyone, > One friend of mine created a FAS account and when he use wiki page > for create one, Unfortunately, the wiki has been under heavy attack by spammers with false accounts (created by a zombie army of actual humans),

Re: conversion of notes.ics in a text format

2016-07-21 Thread bruce
forgive me.. but i came across a perl article that was created for helping to solve this issue.. you're not the only one.. posting it here if you haven't seen it as it might shed light on the issue. been way too long for my perl fu to be of any use. http://techblog.babyl.ca/entry/knotes-migratio

Re: conversion of notes.ics in a text format

2016-07-21 Thread Rick Stevens
On 07/21/2016 03:37 PM, bruce wrote: > forgive me.. > > but i came across a perl article that was created for helping to solve > this issue.. you're not the only one.. > > posting it here if you haven't seen it as it might shed light on the > issue. been way too long for my perl fu to be of any u

Re: conversion of notes.ics in a text format

2016-07-21 Thread Patrick O'Callaghan
On Thu, 2016-07-21 at 21:59 +0200, Maurizio Marini wrote: > If you have fedora kde, I think you have a notes.ics somewhere I use KDE but don't use any of the PIM apps so I don't have that file. > before kde 4.3, it was here > ~/.kde/share/apps/knotes/notes.ics > > It is full of  \n like this exc

Re: conversion of notes.ics in a text format

2016-07-21 Thread Patrick O'Callaghan
On Thu, 2016-07-21 at 21:59 +0200, Maurizio Marini wrote: > If you have fedora kde, I think you have a notes.ics somewhere I use KDE but don't use any of the PIM apps so I don't have that file. > before kde 4.3, it was here > ~/.kde/share/apps/knotes/notes.ics > > It is full of  \n like this exc

Re: Custom resolutions in LXDE in Fedora 24

2016-07-21 Thread Kalpa Welivitigoda
On Fri, Jul 22, 2016 at 1:05 AM, Rick Stevens wrote: > On 07/21/2016 11:34 AM, Kalpa Welivitigoda wrote: > > Hi, > > > > I am using a Thinkpad X1 Carbon laptop with Fedora 24 LXDE spin > > installed. The default resolution of 2560x1440 is too small and > > irritates my eyes. > > > > I tired chang

Re: conversion of notes.ics in a text format

2016-07-21 Thread Maurizio Marini
> Well, you could edit it with "vi" and use > > :g/\\n/s//(CTRL-V)(ENTER)/g > ^^^ > using that command. I think that's what you want. exactly that one :) http://techblog.babyl.ca/entry/knotes-migration is very interesting too many thnx :) smime.p7s Descriptio