Last active
August 29, 2015 14:25
-
-
Save hexvalid/3cd954fc5ad4e86fa7db to your computer and use it in GitHub Desktop.
For Hbers
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| $dosya="sozluk.txt" | |
| #Argümanı kontrol et | |
| if [ -z "$1" ] | |
| then | |
| echo "Kelime belirtilmedi." | |
| exit 1 | |
| fi | |
| echo $1 >> $dosya | |
| echo "\n" >> $dosya #Yeni satır | |
| echo "Kelime sözlüğe eklendi!" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment