Computing.Net > Forums > Unix > need help in unix shellscripting

need help in unix shellscripting

Reply to Message Icon

Original Message
Name: janie_rose
Date: July 25, 2006 at 04:36:08 Pacific
Subject: need help in unix shellscripting
OS: xp 2000
CPU/Ram: amd duron
Comment:

nails,

my program should follow a general syntax:
-s for displaying contacts specified, -a creates contact aking for nickname, firstname,lastname and number of the contact; -d for deleting a contact; -e editing details of an existing contact; -m invokes the simple menu interface
and -h for help screen that shows how to use the command.

i have started it but i font know hnow to make these commands function... huhuhuhu... but i have made the other scripts....

thanks for the help....


Report Offensive Message For Removal


Response Number 1
Name: David Perry
Date: August 7, 2006 at 20:06:07 Pacific
Subject: need help in unix shellscripting
Reply: (edit)

Have a look at getopts.


Report Offensive Follow Up For Removal

Response Number 2
Name: janie_rose
Date: August 9, 2006 at 03:30:09 Pacific
Subject: need help in unix shellscripting
Reply: (edit)

can you help me with these scripts??
i am to call a function first.. here is my function...

-a ()
{

let -a="cat"
echo "Enter your name:"
read name
}

question is how can i save this to my phonebook so that i can view the file?

should i used grep?

thanks for the help


Report Offensive Follow Up For Removal







Use following form to reply to current message:

   Name: From My Computing.Net Settings
 E-Mail: From My Computing.Net Settings

Subject: need help in unix shellscripting

Comments:

 


  Homepage URL (*): 
Homepage Title (*): 
         Image URL: 
 
Data Recovery Software