Skip to content

Instantly share code, notes, and snippets.

@hexvalid
Last active August 29, 2015 14:25
Show Gist options
  • Select an option

  • Save hexvalid/3cd954fc5ad4e86fa7db to your computer and use it in GitHub Desktop.

Select an option

Save hexvalid/3cd954fc5ad4e86fa7db to your computer and use it in GitHub Desktop.
For Hbers
#!/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