threads / discuss / 16511

clean the manual of unnecessary quote marks

Subject: clean the manual of unnecessary quote marks

## tl;dr

2 messages between Nov 28, 2008 and Nov 28, 2008.

replies: 1people: 2as markdown or json

jidanni@jidanni.org· Nov 28, 2008, 02:09 UTC · lore

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...

Sverre Rabbelier· Nov 28, 2008, 06:25 UTC · re: jidanni@jidanni.org · lore

Re: clean the manual of unnecessary quote marks

On Fri, Nov 28, 2008 at 03:09,  <jidanni@jidanni.org> wrote:
Show 5 quoted lines
> $ 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...
Show 8 quoted 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).

-- 
Cheers,

Sverre Rabbelier

← back to recent threads