aboutsummaryrefslogtreecommitdiff
path: root/soxdial
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2024-04-10 17:16:27 -0400
committerB. Watson <urchlay@slackware.uk>2024-04-10 17:16:27 -0400
commitc019c21f84259c3e690ad60f8b6c1a83744fa3a9 (patch)
treee2339f8d53d006c56c1420c4a6f32613aca652a0 /soxdial
parentd876d6cf73e2f091589b137bc6b119e2ea4a6635 (diff)
downloadmisc-scripts-c019c21f84259c3e690ad60f8b6c1a83744fa3a9.tar.gz
soxdial: raw output for extensionless output files.
Diffstat (limited to 'soxdial')
-rwxr-xr-xsoxdial2
1 files changed, 1 insertions, 1 deletions
diff --git a/soxdial b/soxdial
index 7726c8a..519e4dd 100755
--- a/soxdial
+++ b/soxdial
@@ -494,7 +494,7 @@ sub set_dialtone_type {
# final sox command, to which we pipe all the others.
sub make_sox_cmd {
- if($output eq '-') {
+ if($output !~ /\./) {
$output = "-t raw $output";
} else {
# support quotes, spaces, etc in filenames.