Skip to content

Instantly share code, notes, and snippets.

@er1c
Created July 22, 2021 16:33
Show Gist options
  • Save er1c/351869fbd4cb884869e39c724969f78a to your computer and use it in GitHub Desktop.
Save er1c/351869fbd4cb884869e39c724969f78a to your computer and use it in GitHub Desktop.

make -C web_api run_web_api_dependencies_datamarts 2>&1 | prepend_timestamps.sh | tee make.log

#!/usr/bin/env bash
while read -r line; do
printf '[%s] %s\n' "$(date -u '+%Y-%m-%d %H:%M:%S')" "$line"
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment