From b2dced78f6bd35756195a88aacdfc22e449e0bcc Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Tue, 9 Apr 2024 14:02:09 -0400 Subject: soxdial: check -o/--output argument. --- soxdial | 1 + 1 file changed, 1 insertion(+) diff --git a/soxdial b/soxdial index 7228483..924c958 100755 --- a/soxdial +++ b/soxdial @@ -472,6 +472,7 @@ for ($argc = 0; $argc < @ARGV; $argc++) { $noexec = 1; } elsif(/^--?o(?:output)?$/) { $output = $ARGV[++$argc]; + die "$SELF: missing argument for --output.\n" unless defined $output; warn "$SELF: output set to '$output'\n" if $verbose; } elsif(/^--?b(?:its)?$/) { if(@sox_subcmds) { -- cgit v1.2.3