Timeline for Display numbers lacking 2's
Current License: CC BY-SA 4.0
9 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Mar 29, 2019 at 22:09 | comment | added | Sophia Lechner |
The entire printf can be replaced with seq 100 , which delimits with newlines by default.
|
|
Oct 5, 2018 at 21:58 | comment | added | Ruslan |
-1 byte if you use sed /2/d instead of grep -v 2 .
|
|
Oct 3, 2018 at 8:35 | comment | added | Mark Perryman |
Just beats my echo {1..100}|tr ' ' \\n|grep -v 2
|
|
Oct 3, 2018 at 3:17 | history | edited | ketone | CC BY-SA 4.0 |
deleted 41 characters in body; added 42 characters in body; edited body
|
Oct 3, 2018 at 3:16 | comment | added | ketone | i am learning actually i don't know that much btw thanks. | |
Oct 3, 2018 at 3:14 | comment | added | ketone | yeah right. i ll update my answer. | |
Oct 3, 2018 at 3:12 | comment | added | Digital Trauma |
Welcome to PPCG! How about echo $i instead of the printf? Or even better printf %d\\n {1..100}|grep -v 2 ?
|
|
Oct 3, 2018 at 3:10 | review | First posts | |||
Oct 3, 2018 at 3:12 | |||||
Oct 3, 2018 at 3:05 | history | answered | ketone | CC BY-SA 4.0 |