Shell script how getopts can accept more than one string in one var

In shell script   how  getopts  can  accept  more than one string in one variable    DES
Here is the part of shell script that accepts variables  from the Shell script  but the   DES   variable does not accepts more than one variable.,  how to do this ??
When i run the script like below
sh Ericsson_4G_nwid_configuration.sh   -n  orah4g    -d   "Ericsson 4g Child"    -z Europe/Stockholm
it does not accepts    "Ericsson 4g Child"    in  DES  Variable   and only accepts    "Ericsson"  to DES variable.
how to make it accept     full   "Ericsson 4g Child" 
========================================
while getopts “hn:r:p:v:d:z:” OPTION
do
  case $OPTION in
  h)
  usage
  exit 1
  n)
  TEST=$OPTARG
  z)
  ZONE="$OPTARG"
  d)
  DES="$OPTARG"
  v)
  VERBOSE=1
  usage
  exit
  esac
done

Please use code tags when pasting to the boards: https://wiki.archlinux.org/index.php/Fo … s_and_Code
Also, see http://mywiki.wooledge.org/Quotes

Similar Messages

  • HI, could anyone please tell me how you can delete more than 1 photo at a time or ipad or ipod touch?

    HI there, could anyone please tell me how you can delete more than 1 photo at a time on ipad and ipod touch??

    Delete multiple pictures at 1 go.
    1. Click the box with arrow on top right of Album.
    2. Select pictures to delete
    3. Tap Delete
    http://i1224.photobucket.com/albums/ee374/Diavonex/86e1a2c37a805bca2ccacc66c95ce 934.jpg

  • How I can view more than 1 page at once on my screen with "PAGES" 5.5.2?

    Hello, I have a iMac 27" and would like to know how I can view more than 1 page at once on my screen with "PAGES" 5.5.2?
    In the past one could do this by clicking in the "zoom" field on "PAGES", but ever since Apple have seemed to "simplify" PAGES.... well, I'm spending more time searching than working... 
    Can anyone help? I'm going nuts with this issue.
    Thanks.

    Hi viking.
    Just to keep you informed, it's the least I can do after the time you spent helping me.
    The best solution I have found and it works excellently is the following:
    - I installed VMWare on my iMac.
    - Created a virtual machine and installed OS X7.0 on it.
    - I "imported" or reformatted this virtual machine with an image disc (a DMG) of my entire système installed on my previous Mac (which was running OS X7.5 and had iWorks installed on it)
    The result is fantastic.
    I now have a virtual machine running Mac OS X.7.5 on my iMac (which is running Yosemite). As, I also managed to import into this virtual machine my image disk (DMG) of my entire MacBook Air (which had MacOS X7.5 and had all apps including iWorks) I can use Iwork just like in the "good old days" !!!
    So I now simply jump from one to the other, its perfect!
    Thank you very much for the time you spent helping.
    Have a great day.

  • HT204411 i am trying to purchase many songs at one time. i have added all songs to wish list , now to purchase it will only let me  do one at a time  please advise how i can purchase more than one at a time

    i am trying to purchase many songs at one time. i have added all songs to wish list , now to purchase it will only let me  do one at a time  please advise how i can purchase more than one at a time

    There used to be a 'buy all' button on the wish list screen but for some reason that has been removed from the current version of iTunes so you will need to buy each item individually. You can try leaving feedback for Apple and maybe it'll be added back in a future update : http://www.apple.com/feedback/itunesapp.html

  • How do I combine more than 12 files into one PDF file?

    How do I combine more than 12 files into a single PDF? That's why I upgraded to Adobe XI Pro.

    Hi Marshall32,
    If you have Acrobat Pro, you can combine more than 12 files by choosing File > Create > Combine Files into a Single PDF. The 12 file limitation is only imposed by Adobe PDF Pack online service. Acrobat itself doesn't have such a limit.
    (If you haven't already, you can download Acrobat from here: https://cloud.acrobat.com/acrobat.)
    Best,
    Sara

  • How I can apply more than one DBI reports at a time?

    I have many DBI reports (and maybe dashboards in future) in one database and I want to transfer them to second database. Of course I can export every report to individual zip file and than import this file to second database. But how I can import all my reports at a time? I tried to simply merge files in archives. But EBS imported only one report from merged zip file. Then I downloaded some patches (for example, E-Business Intelligence Family Pack 11i.BIS_PF.F) and explored their structure. I copied xml files with report description (RPerPersonsLayoutsource.xml and RPerPersonsDocsource.xml) from zip archive to <patch directory>\bis\mds, set versions in file-version attribute to 120.6 and wrote driver file. Than I tried to apply this patch. There was no errors (as I think) but report didn't appear in database.
    So, can I do something to transfer many DBI reports at a time?
    P.S. Driver file text:
    begin aru xxbis_test
    compatible release 12.0.0
    compatible platform GENERIC
    compatible parallel always
    compatible language RU
    characterset cl8mswin1251
    # installation for bis module
    begin bug bis xxbis_bis_test
    begin actions
    #=================================#
    # Actions for Copying Patch Files #
    #=================================#
         copy bis mds RPerPersonsDocsource.xml 120.6
         copy bis mds RPerPersonsLayoutsource.xml 120.6
    #=======================================#
    # Actions for Applying Database Objects #
    #=======================================#
         # file-version-parsed bis mds RPerPersonsDocsource.xml 120.6
         exec java oracle/jrad/tools/xml/importer XMLImporter.class java &phase=dat+24 checkfile:bis:mds:RPerPersonsDocsource.xml &fullpath_bis_mds_RPerPersonsDocsource.xml -username &un_apps -password &pw_apps -dbconnection &jdbc_db_addr -userId "1" -rootPackage /oracle/apps/bis -rootdir &fullpath_bis_mds_directory
         # file-version-parsed bis mds RPerPersonsLayoutsource.xml 120.6
         exec java oracle/jrad/tools/xml/importer XMLImporter.class java &phase=dat+24 checkfile:bis:mds:RPerPersonsLayoutsource.xml &fullpath_bis_mds_RPerPersonsLayoutsource.xml -username &un_apps -password &pw_apps -dbconnection &jdbc_db_addr -userId "1" -rootPackage /oracle/apps/bis -rootdir &fullpath_bis_mds_directory
    end actions
    end bug bis xxbis_bis_test
    end aru xxbis_test
    Edited by: [email protected] on 17.02.2009 4:15

    Not real sure what your asking but if you want to view two apps side by side, make sure they're not in full screen mode and drag the edge of a window to resize.  If you want to browser windows, On the menubar Safari > File > New Window.  Or the shortcut, CMD N
    Then resize to view both.
    Regards,
    Captfred

  • How i can have more than one update center? e.g netbeans update center

    Hi
    Thank you for reading
    How i can add Netbeans update center to my update center list ?
    I want to use some netbeans 4.1 plugins
    which Creator 2 EA 2 is based on it
    Can some one help me ?

    Hi,
    Although it is based on NetBeans, Creator does not officially support the addition of 3rd party modules, at least not yet. Hence there is no facility for adding another update center to the IDE. That said, there is nothing in Creator that prevents a user from writing and installing such a module. How well it performs depends on what the module does and how it interacts with the rest of the IDE.
    Thanks,
    RK.

  • How do I combine more than 12 pdf into one pdf?

    I am trying to combine 16 pdfs into one pdf but the acrobat cloud is not allowing more than 12.  Help!  I am on a deadline.

    Combine the first 12, then use that combined file and combine it together
    with the other 4 files...

  • How i can configure more than one port to the listener?

    I made a mistake but I don't know why
    May anybody help me?
    Than you very much

    I made a mistake but I don't know whyWhat mistake ? Could you post your listener.ora ? and please post any error you get.

  • How do I print more than one custom-size photo on a page in PSE 10?

    I recently upgraded from Photoshop Elements 6 to Photoshop Elements 10.  I make greeting cards, and on PSE 6 I was able to print two custom-size (6-1/2” x 5”) cards on each 8-1/2” x 11” sheet of photo paper.  The option to print more than one custom-size card on a single sheet of paper is not available in PSE 10.  I want to know how I can print more than one custom-size card (or photo) on a page in PSE 10?

    In Editor:
    File>Print>#4 Select type of print>picture package

  • How do I add more than one picture on a page?

    I just started using Lightroom, and I want to know how I can add more than one picture onto a page to print or email. Right now, I will choose a picture, and it will make all of the pictures on the page that picture. I have even tried dragging a picture onto a page, but it just changes all of the pictures to the dragged picture.
    Thanks.

    It can be done in Lightroom 2 but, as John pointed out, it requires a 'hack.'  Here is how it's done:
    http://lightroomkillertips.com/2009/video-multi-photo-picture-packages/

  • How do I add more than one video per track/layer?

    Hi.
    Could someone please advise me how I can add more than one video to a track/layer?
    I'm cutting and pasting parts and each time I paste, a new track/layer is added.
    The final video is going to be approximately 5 minutes long.
    I am 17 seconds in and have 54 tracks already!
    How do I stop this?
    Thank you very much
    J

    More video tracks. This is actually what you want.
    Unless you're just making a still image (like Photoshop), multiple layers give you control to animate each individually. (If it's just a Photoshop comp you're after, you may want to create it in Photoshop)
    If you want to move ALL OF THE VIDEO TRACKS TOGETHER, you can use
    parenting or
    precompose those individual layers into a single composition.
    livedocs

  • Assigning more than 1000 orders in one WBS

    Hi Experts,
    I have a requirement of assigning more than 1000 Orders to one WBS element. As per SAP note, a maximum of 1000 Orders can be asssigned to one WBS otherwise system performance may get affected. But as per the client requirement, either I should allow more than 1000 Orders or System should give an error message when the assignment crosses this limit... I checked for User exits (for Orders) and could not find any for this... any experience / suggestions ?
    Thanks
    Bala

    Hi,
    If more than 1000 orders has been assigned under one WBS then the system performance will get slow.Whenever you are retriving some data or reports for that WBS the system response will be slow.
    If the client requirement is like that then you can create more than 1000 orders,
    orelse you can break the WBS in SUb WBS & create many orders under different head.
    You can cretae more than 1000 orders under one WBS.The system wont give any error message.
    Regards,
    Raj

  • How can I sync more than 10 devices to one apple id for itunes

    We have a lot of apple devices in our family, more than 10.  We all want to share apps and music outside of our house, but I don't know how to do it.  I have iTunes Match, but once again - only 10.

    Each person should get their own Apple ID so they can individually sync and maintain their personal files and other data. If you have but one computer to share, then each user should have a separate user account on the computer.
    Although your computer can handle more than one user account, iDevices are intended for a single user, not multiple users sharing the same account or Apple ID.

  • SMARTFORM: how to create 3 copy (each copy can print more than one page)

    SMARTFORM: how to create 3 copy (each copy can print more than one page)
    Hello everyone.
    my user want to have form that print 3 copy.
    such as 1 copy description = master,  2 copy description = copy 1 ,3 copy description = copy 2.
    so i create 3 page . I copy from page 1.
    and in each page there is main window which can have data more than 1 page.(such as have a lot of sale data ,it's take 2 page for show output .so it's take 2 page in each copy)
    please help me.
    how to set page and window in each page for print 3 copy and each page can have main window that print more than 1 page

    Hello Vinit.
    thank you very much for your help.
    could you help me more please.
    in below code
      DO NAST_ANZAL TIMES.
    l_counter = l_counter + 1.  " << pass this to FM and use for the TEXT to print
    CALL FUNCTION LF_FM_NAME
               EXPORTING
                         COUNTER = l_COUNTER   " USE this to derive the text into PRINTOUT
    enddo.
    Now i out of office .so i cannot test.
    where do i set NAST_ANZAL for 3 ?
    can i input ?
    NAST_ANZAL = 3.
      DO NAST_ANZAL TIMES.
    l_counter = l_counter + 1.  " << pass this to FM and use for the TEXT to print
    CALL FUNCTION LF_FM_NAME
               EXPORTING
                         COUNTER = l_COUNTER   " USE this to derive the text into PRINTOUT
    enddo.
    Edited by: dittaporn nanasilp on Mar 12, 2011 3:33 PM

Maybe you are looking for

  • Every App I open Crashes

    iTunes, Safari, iMovie... everything I open says quit unexpectanly whil using CoreFP Plug-in

  • How do i get my contacts back into outlook 2010

    I plan to swap my IPHONE 5 for a BB- I know that this is blashemy to most of you, but I cannot get ICLOUD to properly sync my contacts and calendar. I am fearful when I remove ICLOUD from my PC that all of my contacts will disappear as they are no lo

  • ITunes 6.0.5 crashes with older CDs!

    I am running a PowerBook G4 550mhz (yes an oldie but goodie) and i have discovered a new problem with my iTunes 6.0.5. when i insert an older CD (from maybe pre 1996?) and hit play or import, it crashes my iTunes. I have to do the whole Force Quit ro

  • Wildcard certificate in Outlook Anywhere

    I tried to fix a bit our Outlook Anywhere and set certificate for my EXPR provider to "msstd:*.domain.com" (I use *.domain.com certificate for exchange). But all Outlook clients after restart show error: "There is a problem with the proxy server's se

  • HT201343 i lost AirPlay Mirroring how can i get back

    i lost airplay mirroring and how can i get it back