著者: Edward Bartolo
日付:
To: aitor_czr
CC: 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.
>
>