git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Bug/comment
@ 2018-01-29 23:21 Ilija Pecelj
  2018-01-30  0:02 ` Bug/comment Andrew Ardill
  0 siblings, 1 reply; 3+ messages in thread
From: Ilija Pecelj @ 2018-01-29 23:21 UTC (permalink / raw)
  To: git

Though it might not be considered a bug 'per se' it is definitely wired. 
Namely, when you type 'yes' word and hit enter in git bash for widnows, 
the process enters infinite loop and just prints 'y' letter in new line. 
It can be interrupted with CTRL+C. I'm not sure if it has any other 
consequences other than printing letter 'y' in infinite loop.


Cheers,

Ilija


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Bug/comment
  2018-01-29 23:21 Bug/comment Ilija Pecelj
@ 2018-01-30  0:02 ` Andrew Ardill
  2018-01-31 17:38   ` Bug/comment Kaartic Sivaraam
  0 siblings, 1 reply; 3+ messages in thread
From: Andrew Ardill @ 2018-01-30  0:02 UTC (permalink / raw)
  To: Ilija Pecelj; +Cc: git

Hi Ilija,

On 30 January 2018 at 10:21, Ilija Pecelj <pecelj@gmail.com> wrote:
> Though it might not be considered a bug 'per se' it is definitely wired.
> Namely, when you type 'yes' word and hit enter in git bash for widnows, the
> process enters infinite loop and just prints 'y' letter in new line.

What you are seeing is a program called `yes`, the job of which is to
print the letter 'y' (or something else if requested) on a new line as
often as it can.

It is used, for example, when you want to answer 'yes' to all the
prompts a program may ask. See more at
https://en.wikipedia.org/wiki/Yes_(Unix)

I agree it's a little weird if you have no idea what it's doing, but
it is very useful and very old, used by many many different scripts
etc, and so unlikely to change.

Regards,

Andrew Ardill

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Bug/comment
  2018-01-30  0:02 ` Bug/comment Andrew Ardill
@ 2018-01-31 17:38   ` Kaartic Sivaraam
  0 siblings, 0 replies; 3+ messages in thread
From: Kaartic Sivaraam @ 2018-01-31 17:38 UTC (permalink / raw)
  To: Andrew Ardill, Ilija Pecelj; +Cc: git


[-- Attachment #1.1: Type: text/plain, Size: 1670 bytes --]

On Tuesday 30 January 2018 05:32 AM, Andrew Ardill wrote:
> Hi Ilija,
> 
> On 30 January 2018 at 10:21, Ilija Pecelj <pecelj@gmail.com> wrote:
>> Though it might not be considered a bug 'per se' it is definitely wired.
>> Namely, when you type 'yes' word and hit enter in git bash for widnows, the
>> process enters infinite loop and just prints 'y' letter in new line.
>
> ...
>
> I agree it's a little weird if you have no idea what it's doing, but
> it is very useful and very old, used by many many different scripts
> etc, and so unlikely to change.
>

Just to make things more clear, 'yes' is an UNIX utility (as hinted in
the Wikipedia article link) that might come as part of Cygwin and is not
a part of Git itself.


-- 
Kaartic

QUOTE

“It is impossible to live without failing at something, unless you live
so cautiously that you might as well not have lived at all – in which
case, you fail by default.”

      - J. K. Rowling


WIKIPEDIA: DID YOU KNOW?

Only 33% of internet users in India have heard of Wikipedia !!

* What do you think could be the reason behind this?

* What are ways in which the awareness about Wikipedia in India and
other countries be increased ?

Reference:

* Give your ideas for increasing the awareness of Wikipedia in India and
in other countries and get a Grant from the Wikimedia Foundation to
bring your idea to life.

  https://meta.wikimedia.org/wiki/Grants:IdeaLab/Inspire

* Know more about the awareness problem of Wikipedia

  https://meta.wikimedia.org/wiki/New_Readers/Awareness

  https://meta.wikimedia.org/wiki/New_Readers/Next_steps/Raising_awareness


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 870 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-01-31 17:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-29 23:21 Bug/comment Ilija Pecelj
2018-01-30  0:02 ` Bug/comment Andrew Ardill
2018-01-31 17:38   ` Bug/comment Kaartic Sivaraam

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).