Skip to content

Clarify and improve 2025/yang1/try.sh - #301

Merged
lcn2 merged 1 commit into
ioccc-src:masterfrom
xexyl:yang1-try
Oct 5, 2026
Merged

lcn2 merged 1 commit into
ioccc-src:masterfrom
xexyl:yang1-try

Conversation

@xexyl

@xexyl xexyl commented Oct 4, 2026

Copy link
Copy Markdown
Contributor

(If Don Yang disagrees with any of this I am quite fine in not having this btw).

The script now checks if ruby is installed prior to running the ruby commands. The same is done for perl. (Both use type -P).

The message that says '0 to quit' might suggest to quit the script but it does not. In fact it means to move to the next step so it now says 'to go to the next step'. This should help clarify what is happening and it might also (though not completely and very possibly not - maybe this should be added as a little notice before?) help users see that it's looping with the same procedure until one enters 0 (at the appropriate prompt). The 'to go to next step' might also help people who are not paying attention or who are sleeping (or not awake enough).

(If Don Yang disagrees with any of this I am quite fine in not having
this btw).

The script now checks if ruby is installed prior to running the ruby
commands. The same is done for perl. (Both use type -P).

The message that says '0 to quit' might suggest to quit the script but
it does not. In fact it means to move to the next step so it now says
'to go to the next step'. This should help clarify what is happening and
it might also (though not completely and very possibly not - maybe this
should be added as a little notice before?) help users see that it's
looping with the same procedure until one enters 0 (at the appropriate
prompt). The 'to go to next step' might also help people who are not
paying attention or who are sleeping (or not awake enough).
@xexyl

xexyl commented Oct 4, 2026

Copy link
Copy Markdown
Contributor Author

BTW the changelog here in pull requests always seems to add at the end:

# Making a pull request

Please see the FAQ on "[making a pull request](faq.html#pull_request)".

I do not know why and I am not able to look into it bu you might want to know Landon. Hope you're well ... doing other things now. I think this is the first time I have looked at any entry from 2025 (minus mine) although I might have briefly looked at some!

@lcn2 lcn2 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@lcn2
lcn2 merged commit 90a9a14 into ioccc-src:master Oct 5, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants