andreyorst / plug.kak

Plugin manager for Kakoune
MIT License
197 stars 18 forks source link

Avoid gnuisms #97

Closed mralusw closed 3 years ago

mralusw commented 3 years ago

The find -printf is more of a problem. I think I've also seen systems without sleep 0.NNN semi-recently, but in any case adding || sleep 1 can't hurt.

andreyorst commented 3 years ago

Thanks, but is there any reference that find exec is a gnuism? I've thought exec is available everywhere, and printf is POSIX.

mralusw commented 3 years ago

Oopsie -- sorry about that. I think I got confused working on too many things at once :(

The only other thing, looking again, might be to use find -exec +. But, like sleep 0.NNN, it's not really important.

Please drop this PR at your convenience.

mralusw commented 3 years ago

... I misread it as find -printf, not find -exec printf, that is