[plug] strncmp in shell

Cameron Patrick cameron at patrick.wattle.id.au
Mon Jan 19 15:23:16 WST 2004


James Devenish wrote:

| on Mon, Jan 19, 2004 at 02:53:46PM +0800, Ryan wrote:
| > btw: that stuff is explained in the man bash page under: Parameter
| > Expansion
| 
| This one looks promising:
|     ${parameter:offset:length}

It's also near-identical to the Python syntax I posted, so it must be
good. :-)

Cameron.




More information about the plug mailing list