![]() |
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 |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Ambiguous and Command not found Error in UNIX | koti_rama | Shell Programming and Scripting | 2 | 07-13-2007 09:42 AM |
| Ambiguous and Command not found Error in UNIX | koti_rama | UNIX for Dummies Questions & Answers | 2 | 07-12-2007 08:44 AM |
| getting Ambiguous error on kill -9 @pid from csh | umen | Shell Programming and Scripting | 0 | 03-02-2007 12:34 PM |
| ambiguous redirect | mahabunta | UNIX for Dummies Questions & Answers | 1 | 09-15-2006 11:54 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
`ls -l`: Ambiguous
Hi,
I'm trying to code a simple script (c-shell) on a Solaris box and I'm getting an "Ambiguous" error. These are the lines that cause the error: On c-shell: > set var = "" > @ var = `ls -l` `ls -l`: Ambiguous However if I change the second line to: > set var = `ls -l` This works ok but I'm not sure why. I believe and I may be wrong that to change the value of an already defined variable I should use the syntax as in my first example (@ var = X) but there is obviously something that I'm not understanding very well. This may be only for numerical calculations. Please I accept any comment about this error. Thanks! Guillermo |
|
||||
|
Thanks man!
I'm aware about the inconvenience about coding in csh but I'm working on a project that is all coded in csh so I must follow these rules. I'm working on the migration but is a whole back end and I this could not be done right now as it'll consume a lot of time, effort and money. That's the consequence of bad decisions in the past but I can't do anything about it :-). |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|