Whiskeyjack says: Reply to candycanearter07 on HPR4678
RE: hpr4678::2026-07-08 High Resolution Elapsed Time in Shell Scripts by Whiskeyjack00:28:49 Listen in
ogg,
opus,
or
mp3 format.
I'm glad that you found this episode interesting.
I wasn't aware that you could use DEBUG to measure the time that an episode took to run.
Perhaps you could do an episode on this to tell us how to do it? I am sure that a lot of people would find that very interesting.
candycanearter07 says: cool ep
RE: hpr4678::2026-07-08 High Resolution Elapsed Time in Shell Scripts by Whiskeyjack00:28:49 Listen in
ogg,
opus,
or
mp3 format.
I didn't know there were so many ways to measure the exact time, I just usually use $EPOCHREALTIME for stuff.
Did you know you can also catch DEBUG on bash to implement a "time last command took" field to your prompt? It's a bit of a hacky solution but it works pretty well.