What development rpm am I missing?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have an AMAHI server (amahi.org) that runs on FC10.

I am trying to execute a simple script that includes:

function correct {
echo
echo 'Is this correct (1=Yes,0=No): '
read answer
}
correct

But this fails with:

./test1
'/test1: line 1: syntax error near unexpected token `{
'/test1: line 1: `function correct {

But this little snippit runs fine on my notebook, ergo I am missing some important little rpm. I would like to add as little as needed, as this is suppose to be a production system, but then again simple script elements like this SHOULD work.
Or is it an environment problem?


--
fedora-list mailing list
[email protected]
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux