Cygwin for Windows Me

Christopher Faylor cgf@redhat.com
Tue May 1 08:57:00 GMT 2001


On Tue, May 01, 2001 at 11:55:13AM -0400, Christopher Faylor wrote:
>On Tue, May 01, 2001 at 11:40:37AM -0400, (STi) Michael C. Schatz wrote:
>>I certainly never meant to start a scripting war, I was thinking more along
>>the lines of an undocumented switch to mkpasswd....
>
>The concept of "undocumented" really doesn't apply to a free software project.
>
>>(Im still waiting for the perl one liners)
>
>Hey!  Good idea!
>
>#!/usr/bin/perl -pi.bak
>BEGIN {@ARGV = ('/tmp/passwd'); system ("./mkpasswd");} s%/bin/sh%/bin/bash%;
		  /etc

I actually tested this script before submitting it but, somehow, I didn't
want it to be modifying my existing /etc/passwd file.

cgf

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list