Waiting for answer This question has not been answered yet. You can hire a professional tutor to get the answer.

QUESTION

howmany.sh - version #1 Let us start with a script which will define a variable containing a small integer of your choice.

tux@LinuxBox > ./howmany.sh one two threeSorry, you passed parameters but I expected parameters tux@LinuxBox > ./howmany one two three four fiveMaster gave Dobby the right number parameters!tux@LinuxBox > ./howmany.sh one two threeToo few parameters! You gave me parameters but I expected parameters tux@LinuxBox > ./howmany one two three four five six seven eight nineToo many parameters! You gave me parameters but I expected parameterstux@LinuxBox > ./howmany one two three four fiveMaster gave Dobby the right number parameters!tux@LinuxBox > ./paramsloop.sh one two threeonetwothreetux@LinuxBox > ./paramsloop.sh one two threeonetwothreetux@LinuxBox > ./paramsloop.sh one two threeonetwothreetux@LinuxBox > ./whatisthis.sh something.diffUnknown File Suffixtux@LinuxBox > ./whatisthis.sh Something.javaJava Source Filetux@LinuxBox > ./whatisthis.sh something.diffFile found, Unknown File Suffixtux@LinuxBox > ./whatisthis.sh Something.javaFile found, Java Source Filetux@LinuxBox > ./whatisthis.sh Something.javaFile ! Java Source File with linestux@LinuxBox > ./repeat.sh somethingsomethingsomethingsomethingsomething

To write this script, you will have to do a bit of research on the eval bash syntax as it is not covered in the assigned readings.

Show more
LEARN MORE EFFECTIVELY AND GET BETTER GRADES!
Ask a Question