logoalt Hacker News

jermaustin1today at 12:12 PM1 replyview on HN

I remember my first shell programming I ever did was batch in windows back in the 3.11/95 days.

The first line was always to turn off echo, and I've always wondered why that was a decision for batch script. Or I'm misremembering. 30 years of separation makes it hard to remember the details.


Replies

enointtoday at 1:23 PM

Echo in that case prints command lines before executing them. Its analog is `set -x` rather than `echo`.