#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2014
    Posts
    1
    Rep Power
    0

    unix string assignment


    Hello all,

    I am very new to unix scripting. How can I assign a variable with a text spanning over mulitple lines? something like below

    MSG_LIST = "1-message one,
    2-message two,
    3-message three"
  2. #2
  3. Contributing User
    Devshed Novice (500 - 999 posts)

    Join Date
    Sep 2006
    Posts
    867
    Rep Power
    391

    Talking


    Exactly like you wrote it except for the space(s) before/after the equal (=) sign.

IMN logo majestic logo threadwatch logo seochat tools logo