I’m pleased to announce shelltestrunner 1.10 !
This is a cross-platform, GPLv3+ command line tester.
It tests one or more commands, with optional input, and their expected output, stderr, and exit status. It can run tests in parallel, selectively, with a timeout, in color, etc. 1.10 brings --print mode (useful for upgrading old format 1 tests to to modern format 3), and precise line number reporting.
Though I enjoy and am currently using #LinuxMint, I wish I learned about #Wayland sooner. I didn't understand why game performance felt so off with my dual monitor setup for several months. I have since dabbled with an #Ubuntu#Gnome DE for some gaming, and Wayland support has alleviated those problems. However, I plan to look into other options when I've organized my data a bit more and establish proper backups. Learning #Bash, #scripting, #aliases, #workspaces and tweaking #hotkeys were also useful for making my workflow into what it is. Also, I wish I knew how bad #ProtonVPN and #ProtonDrive#Linux support would be. Despite getting used to their #CLI applications, the absence of feature parity is immensely disappointing.
Okay, so. I have a #PDF and a #DOCX file. And I’d like to compare them. And since I’m a programmer, I don’t want to compare them visually, but with a #diff. But how?
Like this.
alias pdfcat='gs -q -sDEVICE=txtwrite -o-'
alias doccat='pandoc -t plain'
pdfcat a.pdf > a.txt
doccat b.docx > b.txt
git diff --no-index --word-diff a.txt b.txt
And since we’re using --word-diff, it doesn’t matter that the two files use wildly different line wrapping.
Been interested in #Linux, #Bash, and #Vim lately. I've been developing a casual interest in cyber-security and data privacy as well.
I like Linux because: it's free, I have more control, it runs really smoothly across several of my devices, the communities have been fascinating, and there's a lot to learn.
Bash has been helpful for doing some light file management. I'm no expert or anything, I've just enjoyed organizing my stuff better lately. Speaking of Bash, I really like the #CLI. I've even started accidentally using #terminal commands while using my web browser.
As tech evolves, our data and information becomes more accessible to ourselves and the people around us. I think it's a bit concerning at times the extent and accuracy that corporations can harvest info. I've been gradually adopting better practices for privacy/security, but within reason.
What are some things you wish you had known when switching to Linux?
I start: the most important thing is not the desktop, it’s the package manager.
[KDE] I think I'm finally happy with my desktop (media.kbin.social)
[Discussion] Early August - What tech has really garnered your interest as of late?
What tech if any have you found interesting lately?...