Timeline for Print a 10 by 10 grid of asterisks
Current License: CC BY-SA 4.0
19 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jun 5, 2018 at 17:47 | history | edited | CousinCocaine | CC BY-SA 4.0 |
typo
|
| Sep 3, 2017 at 19:55 | history | edited | Jakob | CC BY-SA 3.0 |
remove shell prompts and output
|
| Aug 21, 2016 at 18:28 | history | edited | CousinCocaine | CC BY-SA 3.0 |
shortest solution on top
|
| Aug 11, 2016 at 14:44 | comment | added | CousinCocaine | In programming, relying on 'less likely' is dangerous, but you are right, it also wont work with a file named ********** | |
| Aug 11, 2016 at 14:12 | comment | added | Florian F | @CousinCocaine If a file starts with a * then it doesn't work. :-( So it is just a good compromise. Having a file that starts with * is much less likely than to sit in a non-empty directory. | |
| Aug 10, 2016 at 19:55 | comment | added | CousinCocaine | @FlorianF and what if the filename starts with an *? | |
| Aug 10, 2016 at 13:51 | comment | added | Florian F |
You can also write yes \**********|head without the restriction on files.
|
|
| Aug 7, 2016 at 11:17 | history | edited | CousinCocaine | CC BY-SA 3.0 |
added 27 characters in body
|
| Aug 7, 2016 at 10:59 | history | edited | CousinCocaine | CC BY-SA 3.0 |
added 196 characters in body
|
| Aug 6, 2016 at 8:34 | comment | added | CousinCocaine | @HenningMakholm Aha! I get it! So is it 'legal' to golf the "? | |
| Aug 5, 2016 at 0:01 | comment | added | hmakholm left over Monica |
@CousinCocaine: His point was that you can get away with not quoting the ********** command-line argument if the program is always run in a directory where no files match that pattern.
|
|
| Aug 4, 2016 at 19:03 | comment | added | CousinCocaine |
I do not get it. yes just repeats the following text over and over. I do not use echo here... I just do not see what you mean.
|
|
| Aug 4, 2016 at 18:59 | comment | added | Neil |
Normally echo * expands to all the files in the current directory that don't begin with a .; if there are no such files though, the * has no effect.
|
|
| Aug 4, 2016 at 18:57 | comment | added | CousinCocaine | @Neil, is your comment ment for my answer? If so, I do not get it :) | |
| Aug 4, 2016 at 18:51 | comment | added | Neil |
Can you save two bytes by requiring that any files in the current directory must begin with a .?
|
|
| Aug 4, 2016 at 15:15 | comment | added | Digital Trauma |
Nice that 10 lines coincidentally happens to be the default for head.
|
|
| Aug 4, 2016 at 15:04 | history | edited | CousinCocaine | CC BY-SA 3.0 |
added 12 characters in body
|
| Aug 4, 2016 at 14:58 | comment | added | manatwork |
Great idea to use yes. We usually label such solutions as "Bash + coreutils".
|
|
| Aug 4, 2016 at 14:55 | history | answered | CousinCocaine | CC BY-SA 3.0 |