> Von: "Eric S. Raymond" <e...@thyrsus.com>

The commands for getting the new groff-git have some errors.

> 1. git init groff-git
> 2. cd groff-git

One should not go into that directory for downloading.  The downloaded
file is better outside the coming archive.

> 3. wget http://www.catb.org/esr/groff-git.fi.gz/

This line 3. is wrong.  groff-git.fi.gz is only a file, not a directory.
So the final slash has to be omitted.

After the download, one has to go into groff-git: so `cd groff-init'
makes sense here

> 4. gzip <groff-git.fi.gz | git fast-import 

`gzip' alone is wrong, it must be `gunzip' or `gzip -d'.  As the gz-file
is now in the upper directory, `../' must be added, so
`<../groff-git.fi.gz' must be used.

> 5. git checkout to materialize the files.
> 6. rm groff-git.fi.gz

This must be `rm ../groff-git.fi.gz' - if at all.

###

So the more correct command set is

$ cd SOME_DIR              # go to a suitable directory with write access
$ git init groff-git
$ wget http://www.catb.org/esr/groff-git.fi.gz
$ cd groff-git
$ gunzip <../groff-git.fi.gz | git fast-import 
$ git checkout
$ rm ../groff-git.fi.gz    # maybe, only if you want

What about the easier `git clone ...'?

Bernd Warken

Reply via email to