Post 3112592 by bigduke@octodon.social
(DIR) More posts by bigduke@octodon.social
(DIR) Post #3112416 by climagic@mastodon.social
2019-01-18T19:30:23Z
1 likes, 1 repeats
echo "Hello?"{,,,} # Repeat a string 4 times.
(DIR) Post #3112427 by mmu_man@m.g3l.org
2019-01-18T19:36:18Z
0 likes, 0 repeats
@climagic hmm, seems to be a #bashism, at least /bin/sh doesn't do it.
(DIR) Post #3112592 by bigduke@octodon.social
2019-01-18T19:42:02Z
0 likes, 1 repeats
@mmu_man @climagic it's Brace Expansion principle in bash$ echo Hello{1,2,,} # Hello1 Hello2 Hello Hello
(DIR) Post #3155872 by neijatolf@verwirrung.institute
2019-01-19T20:20:02Z
0 likes, 0 repeats
@mmu_man @climagic zsh does it, too
(DIR) Post #3186926 by TauPan@mastodon.technology
2019-01-20T13:10:40Z
0 likes, 0 repeats
@mmu_man @climagic should definitely work in ksh and hence zsh and tcsh, too. (Can't test now.)