Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by PistolPete1999

  1. PistolPete1999

    Skipping every other parameter

    Hey Fellas, finally figured the right code for this... #!/bin/sh clear shift 2 last=$# while [ $last -gt 0 ] do eval 'v=\$$last" echo -n "$v" last=$(($last-2)) done echo thanks to those people who tried to help out :-)
  2. PistolPete1999

    Skipping every other parameter

    Hey Boris, thanks for replying, its a good script but when i changed the $# to $*, i got a msg saying too many arguements and i noticed that ure using KORN, im using bash, unless im wrong, they re different right? Any Solutions? Thanks
  3. PistolPete1999

    Skipping every other parameter

    How do i skip every other parameter? like for example REVERSEM K B Z D E K "G," M O it should display O G, E Z and skips the first two parameters *REVERSEM is the name of the script i got the first two parametrs removed working but struggled with skipping every other parameter...

Part and Inventory Search

Back
Top