Auteur: Edward Bartolo
Date:
À: aitor_czr
CC: dng
Sujet: 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.
>
>