home.social

#unixtools — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #unixtools, aggregated by home.social.

  1. How many links are buried inside a large PDF — and where do they really go?

    I extracted every URL from a 291-page Voron assembly manual, isolated shortlinks, resolved redirects, and built a TSV [tab-delimited] manifest with video duration + titles using:

    pdfgrep
    awk
    curl
    yt-dlp

    A practical method for auditing technical PDFs and embedded media.

    Full walk-through:
    salemdata.net/johnpress/?p=523

    #PDF #Linux #OpenSource #CommandLine #DataExtraction #UnixTools
    #Documentation #DigitalPreservation

  2. After trying to find the right combo of `find`, `xargs`, `sed`, `grep` and `for; do; done` to process a bunch of files with spaces in the names, I remembered: save the filenames to a file and add quotes around them in an editor.

    #ProTip #UnixTools

  3. Boost post from my employer: Want to #visualize the semantic environment of a file or a graph of all imported modules? You can write a #Javascript parser and extract the AST. A quicker way is this lean #degrapher our colleague Arne crafted with #unixtools. See how it's done: blog.disy.net/depgrapher/ — me blogging for #work :-)

  4. Finally time to boast post about a bday gift I bought myself:

    "Ed Mastery" by @mwlucas - a masterpiece for those of us too lazy to learn only reading the source and man(1).

    Really enjoying my Friday night!
    Working on my ed(1) in the sh(1)!