Browse Source
Fixed a typo ;-*
I am currently writing a new bash script and got me some inspirations from this one. Thanks Max!
master
hannes
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
2 deletions
-
convert_ascii_2_string.sh
|
@ -4,7 +4,7 @@ |
|
|
# Script to convert ASCII art to a C string. # |
|
|
# Script to convert ASCII art to a C string. # |
|
|
# # |
|
|
# # |
|
|
# Author: Maximilian Stiefel # |
|
|
# Author: Maximilian Stiefel # |
|
|
# Last modified: 13. December 2017 # |
|
|
# Last modified: 4 April 2018 # |
|
|
# CLI usage: ./convert_ascii_2_string.sh file string # |
|
|
# CLI usage: ./convert_ascii_2_string.sh file string # |
|
|
# Required PKGs: # |
|
|
# Required PKGs: # |
|
|
# # |
|
|
# # |
|
@ -28,7 +28,7 @@ if [ $# != $NU_PARAMS ] |
|
|
then |
|
|
then |
|
|
echo "Error: Illegal number of parameters." |
|
|
echo "Error: Illegal number of parameters." |
|
|
echo "Correct usage is:" |
|
|
echo "Correct usage is:" |
|
|
echo "./convert_ascii_2_string.sh filename stingname" |
|
|
echo "./convert_ascii_2_string.sh filename stringname" |
|
|
exit 1; |
|
|
exit 1; |
|
|
fi |
|
|
fi |
|
|
|
|
|
|
|
|