CHICKEN-DO(1)
β¨ chicken-do β the manual, but make it cute β¨
okay so bestie, welcome to the General Commands Manual page for chicken-do π this is the little make-ish helper from the CHICKEN crew that runs a shell command unless the target already exists and nothing it depends on is newer. it's giving "make but tiny and unbothered". let's get into it π«Ά
πΈ NAME πΈ
chicken-do β run a shell command unless the target exists and any dependency is not newer than the target π
π SYNOPSIS π
chicken-do [-q] [-h] [--] TARGET ... : DEPENDENCY ... : COMMAND ...
three little groups separated by colons, bestie. targets, then deps, then the command. iconic format honestly β¨
π¦ DESCRIPTION π¦
So here's the whole vibe: if the files in TARGET ... don't exist, or if any of the files in DEPENDENCY ... are newer than one of the target files, then it goes ahead and executes the shell commands in COMMAND ... πββοΈπ¨
Otherwise? Nothing happens. No command. It just minds its business. periodt.
The program accepts the following options:
-hβ show usage and exit. the "wait what does this do again" button π-qβ quiet operation, meaning it does not print shell commands when they are executed. stealth mode π§--β treat all following tokens as target filenames, even if they begin with a-character. so if your filename is out here starting with a dash and being dramatic, this is your girl π
π EXIT STATUS π
The chicken-do utility exits 0 on success, and >0 if an error occurs. no in-between, no chaos, just vibes β¨
π EXAMPLES π
Building a C program from sources, the classic:
$ chicken-do prg: prg.c inc.h: gcc prg.c -o prg
look at that colon usage. target, deps, command. chef's kiss π lowkey elegant fr fr
π SEE ALSO π
chicken(1), chicken-status(1), chicken-install(1), chicken-uninstall(1), csc(1) β the whole friend group, go say hi π«Ά
More information can be found in the CHICKEN User's Manual: http://wiki.call-cc.org/manual/index.
π AUTHORS π
The CHICKEN Team π (yes, all of them, they're the main characters)
π BUGS π
Submit bug reports by e-mail to chicken-janitors@nongnu.org β they want to hear it, no cap π§
and that's the page, bestie!! this one came from the Debian build, dated Apr 26, 2017, and it lives at the top of CHICKEN-DO(1) in the manual. slay, go build something π
β¨
π¦ where this page comes from
- alpine 3.24: chicken-doc 5.4.0-r0 Β· BSD-3-Clause
- arch rolling: chicken 6.0.0-1 Β· BSD-3-Clause AND GPL-2.0-or-later AND custom:Public-Domain
- fedora 43: chicken 5.4.0-3.fc43 Β· BSD-3-Clause
- fedora 43: chicken 5.4.0-3.fc43 Β· BSD-3-Clause
- fedora 44: chicken 5.4.0-5.fc44 Β· BSD-3-Clause
- fedora 44: chicken 5.4.0-5.fc44 Β· BSD-3-Clause
- nixos 26.05: chicken 5.4.0
- nixpkgs unstable: chicken 6.0.0
- Copyright (c) 2017-2022, The CHICKEN Team
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms