standardize: read user input with [key] instead of <key>, [long input] instead of <INPUT>; echo path with [[path]]

This commit is contained in:
Luk Lu
2023-10-10 10:23:51 +08:00
parent c56fb5202f
commit 5253cac12b
26 changed files with 153 additions and 153 deletions

View File

@@ -8,7 +8,7 @@ if [ $1 ]
then
VERSION=$1
else
echo "=== Enter <nodejs version> or 'tools' or <leave blank> for default $defaultVERSION"
echo "=== Enter [nodejs version] or [leave blank] for default $defaultVERSION, enter [tools] to install C++ build tools"
read -p ">>> " VERSION
if [ ! $VERSION ]
then