ACHECK.1(1)
β¨ NAME β¨
acheck β Check common localization mistakes π
Okay bestie, acheck is part of the User Contributed Perl Documentation crew, and it is a whole mood π§
π SYNOPSIS π
acheck [OPTIONS] [INPUT_FILE]
π DESCRIPTION π
Okay so acheck literally parses your file and checks it against syntax rules. If you want, it can also ask Aspell to check your spelling π₯ It suggests fixes, spits out a corrected file, and can add review comments too if you ask nicely β¨
It figures out what kind of file you've got from the extension or the first few lines, then loads the right rules for it π¦
It shows you each line as it gets parsed π
When it finds an error, a menu pops up. Just press Enter if you don't want to change anything π«Ά If one of the choices is giving what you want, type its number. If you want to fix it but none of the choices are right, enter a space and it'll ask for a string to swap in for the highlighted text. Then it replaces the highlighted text with your pick and parses everything again to hunt for new errors π
Here's the full list of commands, no cap π
Enter, ignore β Ignore it, you're good πΈCtrl+L, redraw β Redraw the last line, the suggestions, and the hints β¨Space, edit β Edit the highlighted text ποΈE, edit line β Edit the whole line πH, add hint β Add the displayed hint as a review comment. Use this when you want the translator to see the warning or error but you don't have a correction π§N, next line β Skip the rest of this line βοΈX, exit and discard all changes β Quit without saving your changes. The script asks for confirmation, and you have to typeyes'to actually leave. Otherwise, parsing starts over at the current mistake π
Careful bestie: X throws your changes out the window, so only use it if you really mean it π
a, add in dictionary β Add the highlighted word to your personal dictionary, capitalized exactly as it is πl, add lowercase in dictionary β Lowercase the highlighted word, then add it to your personal dictionary πi, ignore word β Ignore the highlighted word, same as Enter πI, ignore all β Ignore the highlighted word and add it to your session dictionary π
π OPTIONS π
πΈ Verbosity level
-q,--quietβ Quiet mode, shhh π€«-vβ Verbose mode. It starts at level$Debug + 1, and you can add more of them for more verbosity (see below) π’--verbose nβ Set the verbosity level ton(see below) ποΈ
π Files
-i,--inputβ Input filename. It can be'-'to read data from standard input π₯-o,--outputβ Output filename. It can be'-'to write data to standard output. If you don't give an output filename, your input file gets backed up with thebak_ext'extension and the input filename gets used π€
π Spell check
-s,--spellβ Check spelling with Aspell π€-d language,--dict languageβ Use thelanguagedictionary for Aspell π-n,--nospellβ Don't check spelling π ββοΈ
π¦ Mode
-r,--reviewβ Review mode. Adds comments on lines beginning with$Commentafter the parsed line π¬-t,--transβ Translator mode. No comments, just fixes the errors π§
π Others
--rules rulesetβ Use therulesetrules set π--type filetypeβ Usefiletypeno matter what the file type actually is π«‘--dumpβ Dumps the rules to check, then exits. Use this for debugging purposes π οΈ-V,--versionβ Prints the version and exits π’-h,--helpβ Prints a short usage message and exits π
π Verbosity Level
0quiet, normal β Only warnings and errors π€1debug β Names of subroutines π©·2debug verbose β Names and arguments of subroutines π3 .. 5debug very verbose β Output parsing and checking details π₯
π¦ SEE ALSO π¦
acheck(5), acheck-rules(5) β go read these next, they're giving sequel π
π AUTHOR π
Nicolas Bertolissio <bertol@debian.org> β the queen who made this whole thing π«Ά
That's the tea, bestie! π Love you, mwah π This page came from perl v5.24.1, dated 2017-01-03, and it's ACHECK.1(1) forever πβ¨
π¦ where this page comes from
- debian bookworm: acheck 0.5.11 Β· GPL-2.0-or-later
- debian trixie: acheck 0.5.13 Β· GPL-2.0-or-later
- ubuntu jammy: acheck 0.5.9 Β· GPL-2.0-or-later
- ubuntu noble: acheck 0.5.11 Β· GPL-2.0-or-later
- ubuntu questing: acheck 0.5.13
- ubuntu resolute: acheck 0.5.14 Β· GPL-2.0-or-later
- ubuntu stonking: acheck 0.5.14 Β· GPL-2.0-or-later
- π girlified by claude-haiku-5-5 on : a language model's rewrite of the original, under its terms