Re: Programming Anti-patterns in Shell and Perl Scripts

2011-06-28 Thread Sravan Bhamidipati
On 28/06/2011 3:21 PM, Ryan Johnson wrote: > I don't use bash-completion myself, but my understanding is > that it can be very slow, if for no other reason than fork() is > slow in cygwin. If your de-anti-pattern transformation causes > fewer calls to fork() -- and the above expr example suggests >

Re: Programming Anti-patterns in Shell and Perl Scripts

2011-06-28 Thread Ryan Johnson
On 28/06/2011 2:53 PM, Sravan Bhamidipati wrote: Hello Cygwin. :-) I have been working on static code analysis from a performance perspective, and I recently applied the concept to Shell and Perl scripts. The most basic idea was to look for usages of Unix commands, their combinations with pipes,

Programming Anti-patterns in Shell and Perl Scripts

2011-06-28 Thread Sravan Bhamidipati
Hello Cygwin. :-) I have been working on static code analysis from a performance perspective, and I recently applied the concept to Shell and Perl scripts. The most basic idea was to look for usages of Unix commands, their combinations with pipes, and stuff like that to which alternatives using Sh