On Thu, Jan 28, 2021 at 01:48:27PM +0800, Liu Yinsi wrote:
[INFO] should come before $*
How about use format
"%F %T $0 INFO: $*"
OK
How about "%F %T $PWD/$0 INFO: $*"
This will show absolute path of error script, Is it redundant?
OK, then use ${0##*/}
Thanks, Fengguang