This commit is contained in:
Prem Kumar 2018-06-27 07:15:09 +00:00 committed by GitHub
commit 6e1dd2ebe7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -81,9 +81,11 @@ main(){
read bg
echo -n "Enter the text for the first line: "
read first
first=$(echo "$first"|tr "\ " "_")
echo -n "Enter the text for the second line: "
read second
httpGet "https://memegen.link/$bg/$first/$second.jpg" >> $fileName.jpg || return 1
second=$(echo "$second"|tr "\ " "_")
httpGet "https://memegen.link/$bg/$first/$second.jpg" >> $fileName.png || return 1
return 0
}