2
अनपेक्षित EOF, जबकि मिलान की तलाश में "" - बैश स्क्रिप्ट
मैंने बस एक बैश स्क्रिप्ट लिखी और हमेशा इस EOF- एरर को प्राप्त किया। तो यहाँ मेरी स्क्रिप्ट है (केवल OS X पर काम करता है): #!/bin/bash #DEFINITIONS BEGIN en_sq() { echo -e "Enabling smart quotes..." defaults write NSGlobalDomain NSAutomaticQuoteSubstitutionEnabled -bool true status=$(defaults read NSGlobalDomain NSAutomaticQuoteSubstitutionEnabled -bool) if [ "$status" …