![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| non-numeric argument | TiredOrangeCat | UNIX for Dummies Questions & Answers | 3 | 02-12-2007 10:37 PM |
| passing argument into awk | prkfriryce | Shell Programming and Scripting | 4 | 02-01-2007 12:44 PM |
| ls and take each file as argument | melanie_pfefer | Shell Programming and Scripting | 3 | 01-24-2007 05:10 AM |
| Stripped argument | mikie | Shell Programming and Scripting | 4 | 09-28-2006 06:38 AM |
| argument parsing... | midhun_u | Shell Programming and Scripting | 1 | 07-25-2006 07:38 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
if i have 2 arguments $1 and $2 how can i append them so that $2 is added to $1? It is really confusing me because it seems so simple, yet i can't get the shell script to work properly. Thanks.
|
| Forum Sponsor | ||
|
|
|
|||
|
thanks for the help, but if i wanted to rename it, what would i do?
For example: arg1=$1 arg2=$2 so if it type the following from the command line: $ hello again the file would be called helloagain it basically appends arg2 to arg1 renaming the file. Thanks. |
|||
| Google The UNIX and Linux Forums |