| To: | yyyyyyyyyyyyyyy@xxxxxxxxxxxxx |
|---|---|
| Subject: | Re: Defect in XCU rm |
| From: | Jim Zepeda <yyyyyyyyyy@xxxxxxxxxxxxxxxxx> |
| Date: | Thu, 13 Mar 2003 11:31:07 -0800 |
| Cc: | yyyyyyyyyyy@xxxxxx |
| References: | <200303111814.SAA02758@xxxxxx> |
|
I have sat and read all of the discussion on this. While it would be nice to have the operating system check for programming errors, that would be totally impractical. I would suggest that the way to deal with this defect report would be, at most, to simply document that the script programmer should test for null variables at critical points in their script. Changing the current specified behavior to unspecified or implementation specific would not be good. There are valid reasons for leaving portions of the standard as unspecified or implementation specific. In most cases the application developer hates this since it hinders their ability to write portable code. With the current state of the standard there is a clear behavior and way to test if either /$VARIABLE1 or $VARIABLE1/$VARIABLE2 evaluates to "/" before the command is executed. I will also point out that an operating system vendor could add a flag to the command to implement the behavior requested here. As long as the flag is not documented in the standard there is no conflict with conformance. If such a flag becomes popular and is implemented in most implementations, the flag would probably find its way into the standard. Jim Zepeda yyyyyyyyy@xxxxxxx wrote: Defect report from : John Beck , Sun Microsystems |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | RE: Defect in XCU rm, evought |
|---|---|
| Next by Date: | Re: Defect in XCU rm, Dragan Cvetkovic |
| Previous by Thread: | Re: Defect in XCU rm, Nick Stoughton |
| Next by Thread: | Re: Defect in XCU rm, Dragan Cvetkovic |
| Indexes: | [Date] [Thread] [All Lists] |