From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christopher Faylor To: Cygwin Users Subject: Re: Cygwin for Windows Me Date: Tue, 01 May 2001 08:57:00 -0000 Message-id: <20010501115812.C17671@redhat.com> References: <002e01c0d24a$83735340$1300a8c0@internal.sti> <3AEECD6A.54C41C64@yahoo.com> <004801c0d24e$7f56f060$1300a8c0@internal.sti> <20010501105601.A6665@redhat.com> <3AEECF3B.2CC71F78@ece.gatech.edu> <20010501110456.A6812@redhat.com> <3AEED808.F7DCB6A8@yahoo.com> <008e01c0d255$120feaa0$1300a8c0@internal.sti> <20010501115513.A17671@redhat.com> X-SW-Source: 2001-05/msg00027.html 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