I was wondering if anyone knew if GeanyLua plugin / Lua scripts in general can run Linux command line commands, similar to the Geany build in feature "Send to Custom Commands", and apply them to documents in the same way.
For a quick example, it was pointed out to me that the "sort" command can be used within documents. `sort -f` Which changes the sort order of the highlighted items in alphabetical order.
Does anyone by any chance know if this is possible to do the same using GeanyLua plugin with a Lua script? If so would anyone be willing to provide a kind of "template" Lua script that can achieve this? Template can use the same example mentioned above "sort -f" Then me/other users can just edit the "template" script changing the command and any options desired to apply to document in Geany.
Thank You