![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | 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 here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| shell programming | nivas | Shell Programming and Scripting | 8 | 02-11-2008 09:06 AM |
| searchin optimized | arunsubbhian | UNIX for Dummies Questions & Answers | 1 | 09-07-2007 01:31 AM |
| Optimized Method | matrixmadhan | UNIX for Dummies Questions & Answers | 2 | 12-14-2006 07:26 AM |
| Server Optimized Linux | computek | Linux | 3 | 09-18-2004 12:22 PM |
| Shell Programming | JWK1 | UNIX for Dummies Questions & Answers | 2 | 06-01-2001 10:31 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#15
|
|||
|
|||
|
Based on a quick reading of the manual page, I don't think you are using it correctly. You are pushing but never pulling. The push method does not expect or support the passing of an argument. I also don't see how this is supposed to bring you closer to a solution.
In the meantime, the script I posted above does seem to produce the expected output for the sample input you supplied. And no, the delete command only deletes the specified element from the hash, not the whole hash (that would be undef -- see the delete documentation for more). |
|||
| Google The UNIX and Linux Forums |
| Forum Sponsor | ||
|
|
| Thread Tools | Search this Thread |
| Display Modes | |
|
|