オプションunkoコマンドグランプリ2022(analもあるよ)

今年最後にこのようなものをまとめて忸怩たる思い。 コマンドのオプションに詳しくなれる本→ https://www.amazon.co.jp/dp/4297122677
1
上田隆一 @ryuichiueda

echo ゆるぼ: オプションに-unkoと指定できるコマンド echo GNU grepはkがないですね残念。 echo a | grep -unko |& cat #シェル芸

2022-12-28 10:13:59
上田隆一 @ryuichiueda

「オプションunkoコマンドグランプリ2022」 #謎

2022-12-28 10:29:43
eban @eban

true,falseは単に無視されるだけなのでいけるが、何も表示されない。 true -unko #シェル芸

2022-12-28 11:05:20
シェル芸bot(停止しました) @minyoruminyon

allexport off braceexpand on emacs on errexit off errtrace off functrace off hashall on histexpand off history off ignoreeof off interactive-commentson keyword on monitor off noclobber off twitter.com/xztaityozx_001…

2022-12-28 11:46:34
くおん @qwertanus

true -unko false -unko # がありなら、 echo -unko # もありなのでは……(前者二つもオプションとは言えない) #シェル芸

2022-12-28 12:00:36
くおん @qwertanus

compgen -c|head -n50|sed 's|.*|bash -c "& -unko" >/dev/null\&\&echo &|e'|sed '/^$/d' #シェル芸

2022-12-28 12:21:09
くおん @qwertanus

数が多いと処理が終わらん……

2022-12-28 12:21:54
シェル芸bot(停止しました) @minyoruminyon

./BdmPlaOmEqvCzikX: 1 行: continue: `for'、`while' または `until' ループでのみ意味があります twitter.com/ryuichiueda/st…

2022-12-28 12:24:32
上田隆一 @ryuichiueda

@minyoruminyon -unkoはcontinueできないと。そうなのかと

2022-12-28 12:25:10
くおん @qwertanus

compgen -c|tail -n100|head -n50|sed 's|.*|bash -c "& -unko" >/dev/null\&\&echo &|e'|sed '/^$/d' #シェル芸

2022-12-28 12:27:15
シェル芸bot(停止しました) @minyoruminyon

unicode-charinfo comment-strip pokemonthink pokemonsay nise kkcw npx forest twitter.com/qwertanus/stat…

2022-12-28 12:27:29
シェル芸bot(停止しました) @minyoruminyon

./LZNVQEMEccPnQDQy: 1 行: continue: unko: 数字の引数が必要です twitter.com/ryuichiueda/st…

2022-12-28 12:28:03
上田隆一 @ryuichiueda

for i in unko ; do continue unko ; done |& cat #シェル芸

2022-12-28 12:27:57
くおん @qwertanus

compgen -c|tail -n350|head -n100|sed 's|.*|bash -c "& -unko" >/dev/null\&\&echo &|e'|sed '/^$/d' #シェル芸

2022-12-28 12:29:58
くおん @qwertanus

終了ステータスの判定が変なとこにあるから、ちゃんと列挙できてるのかわからん

2022-12-28 12:30:36
くおん @qwertanus

@minyoruminyon コマンドによっては、終了ステータスが0になるものもありますね……

2022-12-28 12:33:28
くおん @qwertanus

cpp -unko >/dev/null&&echo UNKO cpp -unko|&textimg -s #シェル芸

2022-12-28 12:35:26