![]() |
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 |
| Want to Convert Scripts in Linux format | niceboykunal123 | Shell Programming and Scripting | 1 | 05-28-2008 02:28 AM |
| Unix/Linux Scripts questions | am2007 | UNIX for Dummies Questions & Answers | 7 | 10-03-2007 01:20 PM |
| Linux Scripts | Strm2k | UNIX for Dummies Questions & Answers | 1 | 09-26-2005 04:29 AM |
| scripts in another linux m/c via ssh | esham | Shell Programming and Scripting | 4 | 08-22-2005 07:56 AM |
| Porting of Windows written unix scripts to unix platform | tamilselvi | UNIX for Advanced & Expert Users | 7 | 10-02-2002 10:55 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
I am working on transferring "good" running code scripts from unix to linux (suse). Some errors show in linux that are not present in unix. Specifically, the error code is: codename [2886]: no closing quote This is referring to the last line of the code + one line. I have used temporary exit to locate the place where the error begins. It seems to be in the code below, but I am crossed eyed trying to find the error. Can anyone help?for fields in 16 17 18 19 20 do info[${x}]=`print "${line}" | awk -v fld=${fields} 'BEGIN {FS=" "} {print $fld}' | sed 's/^ *//' | sed 's/ *$//'` if [[ ${#info[${x}]} -eq 0 ]] then break fi x=`expr ${x} + 1` done slash_tst=`print "${info[2]}" | awk '{print substr($0,length($0))}'` if [[ "${slash_tst}" = "/" ]] then |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|