Scripts will display only filename instead of full path in echo messages

This commit is contained in:
Matheus Albino
2024-06-26 15:45:39 -03:00
parent f35119599f
commit a0025ab1db
11 changed files with 13 additions and 13 deletions

View File

@@ -1,7 +1,7 @@
#!/bin/bash
if [ $# -ne 1 ]; then
echo "Usage: $0 <input_file>"
echo "Usage: `basename $0` <input_file>"
exit 1
fi