:: Re: [DNG] netman-autostart_0.1.1
Top Page
Delete this message
Reply to this message
Author: Edward Bartolo
Date:  
To: aitor_czr
CC: dng
Subject: Re: [DNG] netman-autostart_0.1.1
> printf 'g/^Comment=/d\na\n%s\n.\nwq\n' "$comment" | ed netman.desktop [*]

Hi,

I tried to use the above command instead of:

sed -i "/Exec=netman/c\ ${line}" "${launcher}"

but found that it corrupts the destination .desktop file.

Edward


On 08/01/2016, aitor_czr <aitor_czr@???> wrote:
> On 01/07/2016 09:34 PM, Rainer Weikusat <rainerweikusat@???>
> wrote:
>> printf 'g/^Comment=/d\na\n%s\n.\nwq\n' "$comment" | ed netman.desktop
>> [*]
>
> Aitor.
>
> [*] Joseph Conrad.
>
>