[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Syntax regarding "Exec" instruction in .desktop files

On Lu, 01 iun 20, 17:34:10, l0f4r0@tuta.io wrote:
> 1 juin 2020 à 15:25 de wooledg@eeg.ccf.org:
> > I would not even *attempt* to do what you are trying to do here.  Your
> > life would become enormously simpler if you would just put this shell
> > script inside a file, and Exec it as a script.
> >
> > Attempting to in-line a shell script inside an Exec= line is madness.
> >
> Interesting. Is it madness because it becomes too much complicated to 
> write it easily and correctly according to the official specifications 
> (namely quoting/escaping...)? Or for different reasons?

Yes :)

Question for you: how much would it have taken you to write that into a 
script compared to the time you spent trying to get the quoting right?

Kind regards,

Attachment: signature.asc
Description: PGP signature

Reply to: