Retourner au contenu associé (journal : Challenge: Écrire la plus petite implémentation de /bin/true)
Posté par Benoît Sibaud (site web personnel) le 07 avril 2022 à 15:41. En réponse au journal Challenge: Écrire la plus petite implémentation de /bin/true. Évalué à 5. Dernière modification le 07 avril 2022 à 15:41.
1) Même sur un simple return, il peut y avoir question apparemment.
Cf le manuel de pngcrush http://manpages.ubuntu.com/manpages/focal/en/man1/pngcrush.1.html
-exit Forces pngcrush to call exit() rather than return() when it is finished. It is unclear to this writer why this option exists.
Meme
2) true peut échouer
true
Cf https://twitter.censors.us/jfbastien/status/1357878585361530882 et son /bin/true --help &> /dev/full ; echo $?
/bin/true --help &> /dev/full ; echo $?
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
# Même un simple return lève des questions.
Posté par Benoît Sibaud (site web personnel) . En réponse au journal Challenge: Écrire la plus petite implémentation de /bin/true. Évalué à 5. Dernière modification le 07 avril 2022 à 15:41.
1) Même sur un simple return, il peut y avoir question apparemment.
Cf le manuel de pngcrush http://manpages.ubuntu.com/manpages/focal/en/man1/pngcrush.1.html
Meme
2)
truepeut échouerCf https://twitter.censors.us/jfbastien/status/1357878585361530882
et son
/bin/true --help &> /dev/full ; echo $?