Need help


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Need help
# 1  
Old 06-14-2012
Need help

Hi all
I need help for the issue below.
I need to create script:
FORM_cmd=query || import
FORM_command=add
FORM_msisdn=389881234567
FORM_provcode=SK
FORM_attr=12

FORM_cmd must be "query" or "import"
when FORM_cmd=query then execute -> spdci -cmd $FORM_cmd FORM_cmd

when FORM_cmd=import then execute -> echo $FORM_command $FORM_msisdn:$FORM_provcode=$FORM_attr > /tmp/tmp.txt | spdci -cmd $FORM_cmd /tmp/tmp.txt

Thank you in advance
# 2  
Old 06-14-2012
Hello,

Per our forum rules, all threads must have a descriptive subject text. For example, do not post questions with subjects like "Help Me!", "Urgent!!" or "Doubt". Post subjects like "Execution Problems with Cron" or "Help with Backup Shell Script".

The reason for this is that nearly 95% of all visitors to this site come here because they are referred by a search engine. In order for future searches on your post (with answers) to work well, the subject field must be something useful and related to the problem!

In addition, current forum users who are kind enough to answer questions should be able to understand the essence of your query at first glance.

So, as a benefit and courtesy to current and future knowledge seekers, please be careful with your subject text. You might receive a forum infraction if you don't pay attention to this.

Thank you.

The UNIX and Linux Forums
Login or Register to Ask a Question

Previous Thread | Next Thread
Login or Register to Ask a Question