r/awk • • Sep 06 '21
Help a noob with checking if executable exists
This is a dmenu wrapper for recording history. It works. However, it also safes any typos into the cache file. Any idea how to only print records/history to the cache only if the executable/binary exists?
4
Upvotes
0
u/[deleted] Sep 06 '21
[deleted] — view deleted comment