summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwukong <wukong@longaeva>2019-03-01 23:00:02 -0800
committerwukong <wukong@longaeva>2019-03-01 23:00:02 -0800
commit187ab8368c39a3fd459d5715c91a71104413299a (patch)
treee3233fb4a425142ddccee15955ac9021baff92fc
parent9fba928c48e62f2a0cebaf52947e7db1840a2bc0 (diff)
updated shebang and comment in hamming.sh
Diffstat (limited to '')
-rw-r--r--hamming.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/hamming.sh b/hamming.sh
index b466325..9347388 100644
--- a/hamming.sh
+++ b/hamming.sh
@@ -1,10 +1,10 @@
-#!/bin/bash
+#!/usr/bin/env bash
### hamming.sh
# Convolve input vector with 3-element Hamming window [0.23, 0.54, 0.23]
# note: bash built-in $(( )) construct only supports integer arithmetic
-# floating point operations will require another language such as awk, perl,
-# python, etc.
+# floating point operations will require a calculator or another language
+# such as awk, perl, python, etc.
### input vector as array
X=($1)