Skip to contentSkip to conversation

Bug/comment

DISCUSSION Ilija Pecelj 3 participants 3 messages Jan 29, 2018 – Jan 31, 2018

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw

Hi Ilija,

Quoted 3 lines · Ilija Pecelj

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

#2 lore raw
Quoted 7 lines · Andrew Ardill

Hi Ilija,

Quoted 3 lines · Ilija Pecelj

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.

Quoted 6 lines

...

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.

Signature · 33 lines
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