BASHCARDS(1)
β¨ BASHCARDS(1) β¨
okay bestie, so you found the bashcards manual page π
and honestly? it's giving "study buddy but make it a bash script." it's a User Command, it's iconic, and it lives on line 1 where the header says BASHCARDS(1) β but you don't need to worry about that, I got you π«Ά
π NAME π
bashcards β practice flashcards in bash, fr fr π
πΈ SYNOPSIS πΈ
like, here's every way you can call it, verbatim, no cap:
bashcards -d|--dir DIRECTORY
bashcards -h|--help
bashcards -v|--version
π¦ DESCRIPTION π¦
so bashcards is literally a bash program for practicing flashcards in bash π΄ it does the absolute most in the best way: it lists the decks (*.bcrds files) in a directory and lets you pick one. then it shows each card in a random order β one side, then the other when you press return. and the way that it's random which side comes first too?? main character energy β¨
π OPTIONS π
-d,--dir DIRECTORYβ the directory containing bashcard files (*.bcrds) π that's where your decks live bestie-h,--helpβ see this help information π₯Ί she's helpful-v,--versionβ current version π
π DECK FILES π
a deck is a UTF-8 text file named something.bcrds with one card per line, formatted as front=back π
the rules, and listen closely because this part matters:
- everything after the first
=is the back of the card β so a back may contain=but a front may not β οΈ - blank lines are ignored π
- lines without an
=, or with no text before or after the first=, are skipped with a warning π
for example, spanish.bcrds:
Te quiero.=I love you.
Hasta luego.=See you later.
periodt. that's the whole format π
π ENVIRONMENT π
card borders are measured in characters, so bashcards expects a UTF-8 locale (LC_ALL, LC_CTYPE or LANG) and warns when it finds anything else π§ keep your locale cute or she will say something, ngl
β EXIT STATUS β
- exits
0when you finish a deck or leave with Ctrl+d π«Ά slay - exits
1when given an unknown option, no directory, a directory that does not exist, or a directory without any*.bcrdsfiles π no deck no vibes
π₯ EXAMPLES π₯
bashcards -d ~/flashcards
literally that's it, go study π
π BUGS π
report bugs at https://github.com/rpearce/bashcards/issues β be nice, she's trying π
π AUTHOR π
Robert W. Pearce (me@robertwpearce.com) β the icon behind it all π
okay that's the whole page bestie, every flag and every caveat intact π and for the cute sign-off: this is bashcards 0.2.0, dated 2026-09-25, and that footer line BASHCARDS(1) is us, we're literally the manual page πβ¨ iykyk π¦
π¦ where this page comes from
- nixpkgs unstable: bashcards 0.2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms