Author: johayek
-
your OOXML file (“.docx”, “.xlsx”, “.vsdx”, …) and its “modified” timestamp
https://en.wikipedia.org/wiki/Office_Open_XML_file_formats https://github.com/JochenHayek/misc/blob/master/using_timestamps_in_filenames/create_snapshot_from_OOXML.sh https://en.wikipedia.org/wiki/XMLStarlet VSDX does not get listed as an OOXML conform file format, but for this purpose (here) we can treat it like one. Your “.docx” (or “.xlsx”) file is a ZIP file with a docProps/core.xml inside: $ unzip -l YOUR.docx … … docProps/core.xml … This is a convenient way to extract docProps/core.xml to…
-
Windows .bat equivalent of the shell “source” command
http://stackoverflow.com/questions/6781799/batch-equivalent-of-source-on-windows-how-to-run-a-python-script-from-a-virtu
-
shell command completion with busybox-w32 resp. its “ash”
With Bash command completion works the way, I expect it – or through all the years with Bash I learned what to expect: If I try to complete through a relativ or absolute directory, it lets me complete (sub)directory names and names of executable files. With ash (under busybox-32) initially I had trouble getting certain…
-
my 2017 Windows working environment
All these packages resp. utilities do not require Windows admin rights for getting them “installed” – actually they do not need “a Windows system installation”. Below C:\Users\jhayek I created a couple of subdirectories: opt: every package resp. utility has its own subdirectory below there bin: some .bat and .sh (BusyBox ash) scripts go there Packages resp. utilities:…
-
BusyBox’s “Almquist shell” is not as rich as the Bash
https://en.wikipedia.org/wiki/Almquist_shell https://linux.die.net/man/1/ash – the markup is in a terrible state https://en.wikipedia.org/wiki/Bash_(Unix_shell) The problems with “ash” always most evident, if a shell script got written to work with Bash and needs adapting / downgrading to the “ash”.
-
Perl on Windows w/o Cygwin: Strawberry Perl for Windows
I need (some) Perl on Windows to be run from within shell wrapper scripts. Looks like there will be no Cygwin. Which shell will it be? Probably Busybox: https://frippery.org/busybox/ http://strawberryperl.com/releases.html I don’t have admin rights on that Windows machine, so I am going for “64bit PortableZIP edition + extra PDL related libs” I unzip it…
-
busybox-osx – developing shell scripts for a “true busybox” but in a proper environment
https://github.com/daliworks/busybox-osx https://github.com/downloads/malkia/busybox-osx/busybox – does not work “today” (2017-01-12) What a pity, I cannot find a ready-made busybox-osx! The project looks a little abandoned – what a pity!
-
busybox-w32 – can a shell script / bash developer be satisfied with it?
https://github.com/pclouds/busybox-w32 – do not use! (and do not use the download link given there, it is invalid) use the one at rmyorston’s account instead! https://github.com/rmyorston/busybox-w32 – this is where development happens these days, issues should get reported here (only)!!! https://frippery.org/busybox/ – ready-made binaries Is this a minimalist Unixish environment, that can run my most used shell scripts? (Update: the…
-
using JasperReports’ JRXML for creating non-report documents (esp. PDF)
“.jrxml” is the file extension of the XML files, that JasperReports’ GUI builder iReport deals with. The “compiled” resp. packed versions of them are then called “.jasper“. Actually the top element of that XML is called “jasperReport“. But let’s call these files and the XML “JRXML“! The original purpose of JasperReports is to fill an…
-
JasperReports’ JRXML and subreports
Any (complete) JRXML (with parameters) can be used a subreport in the JasperReports context – but only programatically i.e. through Java or Groovy. Do not confuse the concept of “subreport” with “dataSource” or “subDataSource” –”dataSource” or “subDataSource” are XML tags (in JRXML) to deal with XPath queries.