weblint(1)

πŸ’– weblint(1) β€” the Linux Reference Manual page, but make it cute πŸ’–

okay so bestie, gather round, because we're talking about weblint β€” the little Perl script that picks fluff off web pages. yes, actual fluff. off actual web pages. HTML fluff. it's giving lint, but make it web. ✨


🌸 NAME 🌸

weblint β€” pick fluff off web pages (HTML)


πŸ¦‹ SYNOPSIS πŸ¦‹

weblint [option...] <filename/URL>...

✨ DESCRIPTION ✨

okay so weblint is a Perl script which picks fluff off HTML pages. that's it. that's the whole vibe. it looks at your page, finds the little bits of nonsense hanging off it, and is like "girl. what is this." πŸ’…

and the way you use it? you just pass the files and URLs you want checked on the command-line. no config file drama, no nothing. just vibes and arguments. 🫢


πŸŽ€ OPTIONS πŸŽ€

  • --help β€” this message. literally just this. a lil cry for help. πŸ’€
  • --context[=n] β€” show the offending line, plus n surrounding lines, so you get the full ~context~ of the crime scene. πŸ”

πŸ’œ Error types: (default: all on) πŸ’œ

like, by default, all of these are on. weblint is not here to be subtle. it's here to find everything. no cap.

  • --[no]structure β€” structural issues, like unclosed tag pairs. the tags that started something and then just… didn't finish it. abandoned. left on read. 😭
  • --[no]helper β€” helper issues, like missing HEIGHT & WIDTH. the lil helper attributes that ghosted you. πŸ‘‘
  • --[no]fluff β€” fluff that can be removed, like bad tag attributes. this is the main character of the whole operation, fr fr. 🧚
  • --only β€” turns off all other error types, as in --only --fluff. so you get one category and nothing else. a very "I only want to hear about this one thing" energy. narrow. focused. iconic. 🌈
ngl the [no] prefix is doing a lot of work here β€” it's how you flip a category off instead of on. respect the syntax, bestie. πŸ™ˆ

πŸ“ EXAMPLE πŸ“

% weblint foobar.html ./dodgy-files/ index.html http://example.com/

look at that. files, a whole directory of dodgy-files (the name says it all honestly), another file, and a live URL. weblint will check all of them. slay. πŸ”₯


🌟 AUTHOR 🌟

this basic manpage was written by Jonas Smedegaard <dr@jones.dk> for Debian GNU systems β€” but bestie, it may be freely used elsewhere. sharing is caring. πŸ’–


okay so that's the whole page!! and for the cute sign-off: this is version 2.32+dfsg-1.1, dated 28 December 2020, straight from the weblint(1) manual. go forth and de-fluff your HTML, bestie, you've got this. πŸ¦‹βœ¨πŸ’