Patch proposal 1/2: number of arg identifier

Pierre Peiffer pierre.peiffer@bull.net
Tue Apr 3 14:39:00 GMT 2007


Hi,

	Here is a proposal of patch which allows the access to the number of arguments 
passed to the script through the bash-like identifier $# and @# (the identifier 
is interpreted as tok_number or tok_string accordingly).

	In fact, I've done this for a colleague and found this useful. That's why I 
send it to this list, but just forget this mail if you don't like it ;-)

	I'll send a second proposal, anyway...

-- 
Pierre
-------------- next part --------------
A non-text attachment was scrubbed...
Name: allow-number-of-args-pattern.patch
Type: text/x-patch
Size: 2839 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/systemtap/attachments/20070403/dbc48e5e/attachment.bin>


More information about the Systemtap mailing list