HEGALE
This commit is contained in:
@@ -1,12 +1,17 @@
|
|||||||
# Hornetsay
|
# Hornetsay
|
||||||
|
|
||||||
|
## Installation:
|
||||||
|
`chmod +x hornetsay` to make it executable
|
||||||
|
|
||||||
## Usage:
|
## Usage:
|
||||||
By default `hornetsay` takes the input from the stdio and says it :)
|
By default `hornetsay` takes the input from the stdio and says it :)
|
||||||
|
|
||||||
Best practice is to `|` into it, like this: `echo "hello :) | ./hornetsay"`
|
Best practice is to `|` into it, like this: `echo "hello :) | ./hornetsay"`
|
||||||
|
|
||||||
### Flags:
|
### Flags:
|
||||||
`-a` - automatic voice generation from a selection of expressive voice lines. Includes bangers such as:
|
`-a`
|
||||||
|
|
||||||
|
Little Miss Grownup will say something from a selection of expressive voice lines. Includes bangers such as:
|
||||||
|
|
||||||
- SHAW
|
- SHAW
|
||||||
- HEGALE
|
- HEGALE
|
||||||
@@ -14,5 +19,11 @@ Best practice is to `|` into it, like this: `echo "hello :) | ./hornetsay"`
|
|||||||
|
|
||||||
And many more.
|
And many more.
|
||||||
|
|
||||||
|
`-t`
|
||||||
|
|
||||||
|
The Red Maiden will tell you what time it is :)
|
||||||
|
|
||||||
|
If you mess up the flag she will be just sad
|
||||||
|
|
||||||
### Disclaimer:
|
### Disclaimer:
|
||||||
I did not draw Hornet I stole her form [here](https://emojicombos.com/hornet.-ascii-art)
|
I did not draw Hornet I stole her form [here](https://emojicombos.com/hornet.-ascii-art)
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
AUTO=false
|
STD=true
|
||||||
|
|
||||||
while getopts "a" flag; do
|
while getopts "at" flag; do
|
||||||
case "$flag" in
|
case "$flag" in
|
||||||
a)
|
a)
|
||||||
shaws=("SHAW!" "HEAGALE" "GIT GUD" "Fren." "HahAH" "EDINO!")
|
shaws=("SHAW!" "HEAGALE" "GIT GUD" "Fren." "HahAH" "EDINO!")
|
||||||
@@ -10,16 +10,21 @@ while getopts "a" flag; do
|
|||||||
random_index=$(( RANDOM % length ))
|
random_index=$(( RANDOM % length ))
|
||||||
|
|
||||||
text=${shaws[$random_index]}
|
text=${shaws[$random_index]}
|
||||||
AUTO=true
|
STD=false
|
||||||
|
;;
|
||||||
|
t)
|
||||||
|
text=$(date)
|
||||||
|
STD=false
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
echo "gatya"
|
text=" :( "
|
||||||
|
STD=false
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
||||||
if [ $AUTO = false ]
|
if [ $STD = true ]
|
||||||
then
|
then
|
||||||
read text
|
read text
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user