Cherry pick of the best of all other PRs - #54
Open
rubo77 wants to merge 16 commits into
Open
Conversation
This is a nice evil-ish thing to do, a lot less harmful than the cd-rm or the fork bomb.
Signed-off-by: benaryorg <binary@benary.org>
lQaosFsLsvt7ytmrcwP1y8FTw0nNVRzS6sGIeryjZLxhV9v2//6iRqpmMnScwDjn CpMhBLvQ2SK8JZ6/cl0qmtm4gblLDHYMbrewNJr3SSuFNZknDphbWRTxUMDX6Msd flJmN+bp4J6Vwpv8F0jUIH6wLrACqzu0ZJe3pujbATsd2EqpmPQiGDm2CCrwblbH C/9EjcdNrmDzZorzEeHFj30KLszAiazB2OLM8ikvOVHdmA9ifGEM/rSxONTOyuD0 KU2ufNuHtMEh7Fsi9dEVu4Wnr5SmzFlrTAbEH0gyHSdSDNKL12ZK8/9HbGgR5I0= =nwRX -----END PGP SIGNATURE----- Disable `alias` and `unalias` Closes mathiasbynens#49.
In `bash`, `until` is just the same as `while !`. User may sometimes use this too, so we should invert it too. I can't figure out when `for !` gives something that's not a syntax error, hence I removed it.
Removing obsolete constructs like `$[ expr ]` and `sleep NUMs` makes the script more portable, or at least easier to port to ksh and other POSIX shells as well as environments with other types of `sleep` (POSIX `sleep` doesn't require accepting suffixes.) I have also added comments for users/screwers of other shells. Unfortunately I am too lazy to write those `if [ "$BASH" ]` code, and not to mention that figuring out if a shell is ksh and its version can be tricky.
Take longer and longer to SSH to the box
Collaborator
|
adding |
Collaborator
|
Also, please have a look at what I wrote at #30. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.