Return to Snippet

Revision: 18479
at September 30, 2009 15:35 by deepsoul


Initial Code
s/-[0-9]\+\.[0-9]\+\.[0-9]\+\.[0-9a-zA-Z]\+-[0-9]\+\.tar/-0.0.0.0-0.tar/
s/-[0-9]\+\.[0-9]\+\.[0-9a-zA-Z]\+-[0-9]\+\.tar/-0.0.0-0.tar/
s/-[0-9]\+\.[_+0-9a-zA-Z]\+-[0-9]\+\.tar/-0.0-0.tar/
s/-[0-9a-zA-Z]\+-[0-9]\+\.tar/-0-0.tar/
s/-[0-9]\+\.tar/-0.tar/

Initial URL
http://cygwin.com/ml/cygwin/2006-05/msg00753.html

Initial Description
A Cygwin installation can be cloned by copying `/etc/setup/installed.db` and zeroing all version numbers, then running the installation utility.  The following `sed` script will set the version of most packages to zero.  Some non-standard version numbers will not be affected and have to be zeroed by hand.

Initial Title
Zero version numbers to clone Cygwin installation

Initial Tags

                                

Initial Language
Regular Expression