![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| string with blank spaces | psalas | UNIX for Dummies Questions & Answers | 4 | 04-16-2008 04:50 AM |
| Removing blank spaces from a file? | dfs | Shell Programming and Scripting | 4 | 05-22-2007 05:59 PM |
| blank spaces getting deleted | gander_ss | Shell Programming and Scripting | 5 | 05-15-2007 05:37 AM |
| remove blank spaces in a string | spandu | Shell Programming and Scripting | 2 | 03-02-2006 02:08 AM |
| howtodelete blank spaces | forevercalz | Shell Programming and Scripting | 2 | 09-29-2005 05:35 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
problem with the blank spaces in array
Hi all!
i need your help. I'm getting started with this... in need to insert in an array string values. But the thing is that this strings have blank spaces... for example if a want to put "filed1 = " and "field2 = " .... in the array , when i want to print all the fields, it only shows me the first field... i don't know how to resolve this ... please help me. fieldGlobal[0]="AS_DB_PWD : " fieldGlobal[1]="BHC_DB_PWD : " fieldGlobal[2]="REPPWD=" fieldGlobal[4]="EDTDBPW=" i=0; while [ ${i} -le ${#fieldGlobal[*]} ] do echo "${fieldGlobal[i]}" let i=$i+1 done thanks in advance! |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|