Skip to main content

Timeline for s-n-a-k-e-a-r-o-u-n-d--->

Current License: CC BY-SA 4.0

24 events
when toggle format what by license comment
Dec 19, 2023 at 8:23 comment added Ivan @shellter yes, but it helps me to squeeze few more bytes, that is why I've added 'Squeezed to 271(with 2>/dev/null):'
Dec 18, 2023 at 18:42 comment added shellter Running your code with set -vx gives me (one of the last loops) + (( j<n )) + 1 + '[' -x /usr/lib/command-not-found ']' + /usr/lib/command-not-found -- 1 1: command not found + return 127 ... where of course the + is the line break from the debug/trace.
Dec 18, 2023 at 18:39 comment added shellter Code like $[i+=$2,c++] isn't working in my BASH_VERSION=5.0.17(1)-release. I recall that older shells did honor math evaluations inside of $[ ] (I think?) ...Is another way to write this ((i+=$2,c++)) ? In any case, interesting! Cheers
Sep 8, 2023 at 14:36 comment added c-- 254 bytes, you can revert it to a one-liner if you like, it was just bothering me while golfing
Aug 29, 2023 at 9:44 history edited Ivan CC BY-SA 4.0
added 719 characters in body
Aug 29, 2023 at 9:38 history edited Ivan CC BY-SA 4.0
added 719 characters in body
Aug 29, 2023 at 9:22 history edited Ivan CC BY-SA 4.0
deleted 1357 characters in body
Aug 29, 2023 at 9:10 history edited Ivan CC BY-SA 4.0
removed unnecassary " and '
Aug 29, 2023 at 9:00 history edited Ivan CC BY-SA 4.0
removed unnecassary whitespaces
Aug 28, 2023 at 18:02 history edited Ivan CC BY-SA 4.0
deleted 26 characters in body
S Aug 28, 2023 at 17:49 review First answers
Aug 28, 2023 at 19:02
S Aug 28, 2023 at 17:49 history edited Ivan CC BY-SA 4.0
added 1 character in body
S Aug 28, 2023 at 17:32 review First answers
Aug 28, 2023 at 17:44
S Aug 28, 2023 at 17:32 history edited Ivan CC BY-SA 4.0
added 286 characters in body
Aug 28, 2023 at 16:37 history edited Ivan CC BY-SA 4.0
added 1316 characters in body
Aug 28, 2023 at 14:29 comment added noodle person I reduced your code to 529 bytes by removing unnecessary whitespace. I'm a total bash noob so I'm certain this can be golfed further by someone with more experience than I. Try it online!
S Aug 28, 2023 at 14:18 review First answers
Aug 28, 2023 at 17:20
S Aug 28, 2023 at 14:18 history edited noodle person CC BY-SA 4.0
Add syntax highlighting; Add TIO link to golfed version
S Aug 28, 2023 at 13:31 review First answers
Aug 28, 2023 at 13:33
S Aug 28, 2023 at 13:31 history edited Ivan CC BY-SA 4.0
added "short" version
Aug 28, 2023 at 13:04 comment added The Empty String Photographer This is Code Golf, so try to shorten your code. Other than that, I’m glad you found it fun!
Aug 28, 2023 at 11:33 comment added noodle person Welcome to Code Golf and Coding Challenges! I’m glad you enjoyed my challenge. Unfortunately, per the site’s rules this answer is not a valid submission to my challenge, because it does not attempt to have shortened code. Per the site’s rules, a moderator is probably going to delete your post unless you edit it to include a golfed (shortened) version. For starters, you might want to check out codegolf.stackexchange.com/q/15279/108687
S Aug 28, 2023 at 9:50 review First answers
Aug 28, 2023 at 13:04
S Aug 28, 2023 at 9:50 history answered Ivan CC BY-SA 4.0