Skip to contentSkip to conversation

clean the manual of unnecessary quote marks

DISCUSSION [email protected] 2 participants 2 messages Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

Gentlemen, sorry to be a bore, but in
/usr/share/doc/git-doc/gitcore-tutorial.html
there are examples like

$ git-cat-file "blob" 557db03
which makes it look like the author is an expert in other things, but
not the shell, where
$ git-cat-file blob 557db03
would be fine. Do you really type those extra quotes when nobody else
is looking? Same even with
$ echo "Silly example" >example
Let's see, Of
$ echo Silly example >example
$ echo Silly example>example
$ echo Silly example > example
I'd pick the latter...
#1 lore raw
Quoted 5 lines · On Fri, Nov 28, 2008 at 03:09, <[email protected]> wrote:
$ git-cat-file "blob" 557db03
which makes it look like the author is an expert in other things, but
not the shell, where
$ git-cat-file blob 557db03
would be fine.

This I will agree with you, quoting blob is silly in this case...

Quoted 8 lines

Do you really type those extra quotes when nobody else is looking? Same even with

$ echo "Silly example" >example
Let's see, Of
$ echo Silly example >example
$ echo Silly example>example
$ echo Silly example > example
I'd pick the latter...

But I don't agree here, with echo I do always write the extra quotes when nobody is looking, I find your alternatives less clear than the original (with the quotes).

Signature · 3 lines
Cheers,

Sverre Rabbelier