Posted by jpluimers on 2022/01/17
On VMware ESXi, with the Busybox ash
/dash
shell, I wanted to get the current UTC timestamp in ISO 8601 format without dashes (-
) or especially colons (:
) and plus-signs (+
) you have to back-slash escape colons or double quote parameters, which is often can be a pain).
- [Wayback] How to Manipulate Filenames Having Spaces and Special Characters in Linux describes the pain handling special characters:
In this article, we will see how to create, copy, move and delete filenames that starts with spaces and special characters (say #, *, &, =, etc.) in Linux.
- [Wayback] filenames – What characters are safe in cross-platform file names for Linux, Windows and OS-X – Super User
…
[]()^ #%&!@:+={}'~
and [`] all have special meanings in many shells, and are annoying to work around, and so should be avoided. They also tend to look horrible in URLs.
…
This is why we can’t have good things: Getting the UTC 8610 timestamp was far less easy than I hoped for.
First of all, Busybox only allows for a precision of seconds, not milliseconds, and the specification format needs better documentation as per [Wayback] embedded linux – How to get ISO8601 seconds format from “date” in busybox? – Stack Overflow:
Read the rest of this entry »
Posted in *nix, *nix-tools, ash/dash, ash/dash development, Development, ESXi6, ESXi6.5, ESXi6.7, ESXi7, Power User, Scripting, sed, sed script, Software Development, Virtualization, VMware, VMware ESXi | Leave a Comment »
Posted by jpluimers on 2022/01/17
Sebastian Bergmann documented his Twitch streaming setup using digital output from his Amiga 1200 retrocomputing machine: [Wayback] Streaming Setup, Iterated
This might hold for other retro-hardware too, so here is the schema he uses:
[Wayback image]
–jeroen
Read the rest of this entry »
Posted in LifeHacker, Power User | Leave a Comment »