DICAR(1)

✨ NAME ✨

dicar β€” Archive Binary Dictionary πŸ—‚οΈπŸ’–


🌸 SYNOPSYS 🌸

bestie the whole vibe is: you point dicar at a binary dictionary and it does one thing. here's every shape it takes πŸ‘‡

dicar -t bindic1
dicar -x bindic1 [ bindic2 ]
dicar -r bindic1 bindic2
dicar -d bindic1 bindic2

πŸ¦‹ DESCRIPTION πŸ¦‹

so dicar archives the binary dictionary bindic1. that's the whole job description, no cap. πŸ’…

and here's the lil shortcut that makes it iconic: the hyphen of each option may be omitted. so -t and t hit exactly the same. yes fr fr, you can be lazy. 🫢


πŸŽ€ OPTIONS πŸŽ€

  • -t β€” displays the dictionaries contained in the binary dictionary file bindic1. each displayed name of the dictionaries is made of the text file name followed by the extension .d β€” and that text file name is the one from before the dictionary file got converted into the binary file. so you're seeing the glow-up's origin story. πŸ‘‘
  • -x β€” fetches dictionary bindic2 from bindic1. bindic2 is made of the text file name followed by the extension .d, and again that text file name is the one from before the dictionary file was converted into the binary file. the fetched file bindic2 becomes a dictionary file in binary format. if bindic2 is omitted, all dictionaries within bindic1 will be fetched. ⭐
  • -r β€” adds to bindic1 all dictionaries that are contained in the dictionary file specified in bindic2. any dictionary in bindic1 that is contained in bindic1 is overwritten. 😭 (that's literally what the page says, i'm just the messenger)
  • -d β€” deletes bindic2 from bindic1. bye bestie πŸ’€

🌈 EXAMPLES 🌈

live footage of it working, no notes:

% ls
chimei.d shima.d
% dicar -t shima.d
(Text dictionary file name = Directory size + Word size, packed)
% dicar r shima.d shima.mwd.d (Replaces shima.mwd.d.)
% dicar r shima.d chimedi.d (Adds chimedi.d to shima.d.)
% dicar -t shma.d
(Text dictionary file name = Directory size + Word size, packed)

notice how dicar r shima.d shima.mwd.d is just -r with the hyphen left at home and it still slays. periodt. πŸ’…βœ¨


🧚 SEE ALSO 🧚

go read those too, iykyk πŸ“


okay that's the whole page, and for the little sign-off moment: this one lives on page DICAR(1) in the General Commands Manual β€” the header and the footer both just say DICAR(1), and there's no date stamp on this one, it's giving timeless. πŸŒΈπŸ’œ mwah, go archive something πŸ«ΆπŸŽ€

πŸ“¦ where this page comes from