Any Linux Pro's Here?? Need Help Writing Script
Originally Posted by Sly Raskal
what kind of script? what language?
I need to create a script that will accept the following:
$1=Name:
$2=Address:
$3=City:
$4=State:
$5=Phone Number:
$6=Fax Number:
$7=Email account:
Required to use double quotes in order to assign the value to the correct postional parameters
Display a usage clause if the inccorect number of values is entered
And to display all the parameters
Thanks !!<!--IBF.ATTACHMENT_765064--><!-- THE POST -->
Trending Topics
This should get you started
#! /bin/bash
echo -n "Enter value: "
read -e VALUE1
echo Value 1 is $VALUE1
Of course you need to add a loop and other items. Perl would definately be much better for something like this.
#! /bin/bash
echo -n "Enter value: "
read -e VALUE1
echo Value 1 is $VALUE1
Of course you need to add a loop and other items. Perl would definately be much better for something like this.
Originally Posted by fdl
This should get you started
#! /bin/bash
echo -n "Enter value: "
read -e VALUE1
echo Value 1 is $VALUE1
Of course you need to add a loop and other items. Perl would definately be much better for something like this.
#! /bin/bash
echo -n "Enter value: "
read -e VALUE1
echo Value 1 is $VALUE1
Of course you need to add a loop and other items. Perl would definately be much better for something like this.
Originally Posted by fdl
Of course you need to add a loop and other items. Perl would definately be much better for something like this.

I love programming in perl. I wish I was more a more advanced programmer in Perl.
oh there is SOO much bash scripting info on google
I pretty much taught myself from this alone:
http://www.tldp.org/LDP/abs/html/
edit: and i agree that perl is much better suited for this
I pretty much taught myself from this alone:
http://www.tldp.org/LDP/abs/html/
edit: and i agree that perl is much better suited for this
Last edited by Python2121; May 30, 2006 at 06:02 PM.
Thread
Thread Starter
Forum
Replies
Last Post
emailnatec
5G TLX Tires, Wheels & Suspension
29
Sep 28, 2018 04:27 PM
rcs86
Car Parts for Sale
3
Aug 2, 2016 06:52 PM
jterp7
3G MDX (2014-2020)
9
Feb 3, 2016 08:34 PM
detailersdomain
Wash & Wax
3
Oct 9, 2015 10:13 PM
AcuraKidd
Non-Automotive & Motorcycle Sales
0
Sep 25, 2015 11:18 PM








on Python2121's comment about finding the scripting on Google. Anyhow...g'luck!
