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: why does domain member workstation, when logging into PDC, send

2011-06-28 Thread Andrey Repin
Greetings, Linda Walsh! > domain qualified username? If I have a worstation that is a member of > a domain, and if I am logged in with a domain account, then I believe > the default is that I am simply 'user', vs. if I was logged in with a local > account, I'd be "localmachine\user" Name wi

Re: clear has been named clearw?

2011-06-28 Thread Thomas Wolff
Am 28.06.2011 19:40, schrieb Charles Wilson: On 6/26/2011 10:21 AM, Andrew Hancock wrote: After some web surfing about how to clear the screen in cygwin, I installed ncurses. /bin/clear.exe is not there, but /bin/clearw.exe is. Nothing comes up on a search for clearw either in the mailing list

Re: clear has been named clearw?

2011-06-28 Thread Ken Jackson
On 6/26/2011 2:21 PM, Andrew Hancock wrote: After some web surfing about how to clear the screen in cygwin, I installed ncurses. /bin/clear.exe is not there, but ... I solve that with this in my ~/.bashrc file: alias clear='echo -n -e "\e[2J\e[H"' -Ken -- Problem reports: http://cygw

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

why does domain member workstation, when logging into PDC, send

2011-06-28 Thread Linda Walsh
domain qualified username? If I have a worstation that is a member of a domain, and if I am logged in with a domain account, then I believe the default is that I am simply 'user', vs. if I was logged in with a local account, I'd be "localmachine\user" Before I was a member of a domain, if I

Re: clear has been named clearw?

2011-06-28 Thread Charles Wilson
On 6/26/2011 10:21 AM, Andrew Hancock wrote: > After some web surfing about how to clear the screen in cygwin, I > installed ncurses. /bin/clear.exe is not there, but /bin/clearw.exe > is. Nothing comes up on a search for clearw either in the mailing > list archives or google. Just wondering if