![]() |
|
|
|
|
|||||||
| 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 |
| Need help on installing an EASY to use and easy to install command line text editor | EugeneG | UNIX for Dummies Questions & Answers | 4 | 07-16-2007 08:53 AM |
| Help with an 'easy' script | lestat_ecuador | UNIX for Dummies Questions & Answers | 3 | 01-13-2007 10:30 PM |
| Help with an 'easy' script | lestat_ecuador | Shell Programming and Scripting | 7 | 01-13-2007 04:13 PM |
| Easy script | guest100 | UNIX for Dummies Questions & Answers | 8 | 03-07-2005 07:57 AM |
| shell script : text manipulation (easy quesiton) | champion | Shell Programming and Scripting | 3 | 07-01-2002 12:10 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
easy script
a script, cheer that prints its parameter as shown in the example below.
eg: $ cheer U N I X Give me a U! U! Give me a N! N! Give me a I! I! Give me a X! X! #!/bin/sh for letter do echo "Give me a $letter!";echo "$letter!" done this is the code i used for the above script i have done wat is above but i want to know how to reverse the order eg: $revcheer U N I X should give me the following output : Give me a X! X! Give me a I! I! Give me a N! N! Give me a U! U! |
| Forum Sponsor | ||
|
|
|
#3
|
||||
|
||||
|
Very good advice, shereenmotor.
I will close this thread. Thanks ZB |
||||
| Google The UNIX and Linux Forums |