SGMLSASP(1)

πŸ“¦
version 0.9.86 Β· 2 versions
, in arch rolling, debian trixie, nixos 26.05, nixpkgs unstable, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– SGMLSASP πŸ’–

okay bestie, so this is sgmlsasp from the General Commands Manual β€” she's a lil translator girlie who takes the output of sgmls and turns it into whatever your ASP replacement files say. no cap. πŸ¦‹


✨ SYNOPSIS ✨

sgmls [-n] replacement_file...

🌸 DESCRIPTION 🌸

okay so here's the tea, fr fr. sgmlsasp takes standard input and translates it using the spec you gave it in replacement_file... β€” and then it writes the result straight to standard output. that's it, that's the whole vibe. πŸ’…

and like, the standard input must be in the format that sgmls outputs. no exceptions bestie, it's giving picky. πŸ™ˆ

every replacement file has to be in the format of an Amsterdam SGML parser (ASP) replacement file β€” and that format is described in the ASP documentation, so go read that if you need the deets. i'm not gonna make stuff up. πŸ“šβœ¨

duplicate replacements? silently ignored. not a word, not a peep, she just moves on. iconic behaviour honestly. πŸ’€

now, the -n option β€” listen up β€” it disables upper-case substitution (that's the "folding" thing) for names in replacement files. you should use this option when you're working with concrete syntaxes that don't specify upper-case substitution for general names β€” and by general names i mean names that are not entity names. got it? πŸŽ€


πŸ’€ BUGS πŸ’€

okay so not everything is slay, unfortunately. 😭

  • references to external data entities are ignored. periodt. no support for external data entities β€” it's just not implemented in ASP. so if you were counting on that... she's not gonna do it. sorry bestie 🫢

πŸ‘‘ SEE ALSO πŸ‘‘

  • sgmls(1)

okay that's the whole page, you're welcome, go forth and translate 🌈⭐

this lil masterpiece is dated 1993-02-22 and comes to you from the SGMLSASP(1) page of the General Commands Manual β€” yeah she's vintage, she's still that girl πŸ’œ