Bash Scripting - Timing functions

David Bendit DarkElf109 at ibendit.com
Tue May 20 14:57:04 MST 2008


Whoops! Ignore that. I just mis-declared my function. Sorry to fill your 
inboxes  ;)

-David

P.S.-I tried to send this about 2 minutes after I sent the request, but 
I used the wrong From address...thanks for all the helpful emails, though!

David Bendit wrote:
> Hey there,
> 
> I'm relatively unskilled at shell scripting, and I can't quite figure 
> out how to time individual functions, rather than entire commands. Is 
> there any way to do this? /usr/bin/time or bash's time reserved word 
> both work, as long as I can time a single function.
> 
> Thanks,
> David Bendit
> 
> 
> ------------------------------------------------------------------------
> 
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss at lists.plug.phoenix.az.us
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
Url : http://lists.PLUG.phoenix.az.us/pipermail/plug-discuss/attachments/20080520/bd3f60e1/attachment.pgp 


More information about the PLUG-discuss mailing list