Skip to content

Instantly share code, notes, and snippets.

@l-x
Created November 21, 2024 15:36
Show Gist options
  • Save l-x/86ebd4076a9b98d27b9139d12996c317 to your computer and use it in GitHub Desktop.
Save l-x/86ebd4076a9b98d27b9139d12996c317 to your computer and use it in GitHub Desktop.
Linux shell script to generate the current servicecode for IDM thermal heat pumps
# !/bin/sh
date +"%d%m%y%H" | sed -E 's/^.(.).(.).(...)$/\1\2\3/g' | rev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment