:: Re: [DNG] netman-autostart_0.1.1
Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Edward Bartolo
Ημερομηνία:  
Προς: aitor_czr
Υ/ο: dng
Αντικείμενο: 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.
>
>