Re: Loss of Announcements - Nodes 4480, 4490 & 4677


Nosey Nick VA3NNW
 

David Cameron - IRLP wrote:
Yes, but the old version if sox doesn't have a version flag....
HAH! That's kinda hilarious, but you could still do...

SOXVER=$(sox --version) 2>/dev/null
case "$SOXVER" in
  "") sox --options-for-versionless-sox ;;
  *v14.*) sox --some-newer-behaviour-here ;;
  *v15.*) sox --do-you-wanna-guess-at-future-behaviour-too? ;;
  *) echo "Don't know what to do with $VER" ; exit 9 ;;
esac

Nick CA3NNW

--
"Nosey" Nick Waterman, VA3NNW/G7RZQ, K2 #5209.
use Std::Disclaimer; sig@...
Speak softly and carry a +6 two-handed sword.

Join IRLP@irlp.groups.io to automatically receive all group messages.