don't fork sh/dx on simple query
authorDirk Koopman <djk@tobit.co.uk>
Mon, 15 Nov 2021 10:20:20 +0000 (10:20 +0000)
committerDirk Koopman <djk@tobit.co.uk>
Mon, 15 Nov 2021 10:20:20 +0000 (10:20 +0000)
commit743a03b3b060fbff8579503647a01722fb634cb1
tree76956055a1c7bf48a71644dfb5f74ab07db83419
parentb06fd1d447d5411d8d441e807f93efa897b68aaf
don't fork sh/dx on simple query

If the query does not contain an "expression" (or even just a
callsign and is garanteed to be satified by the cache - if it is
enabled - then do not fork / run as a sub command.

So 'sh/dx', 'sh/mydx' with or without a count will be run from
the cache - if it is enabled.
cmd/show/dx.pl