Project

General

Profile

« Previous | Next » 

Revision 9809

*{.sh,run}: in comments, use ${array[@]} instead of @array for clarity

View differences:

lib/sh/util.sh
469 469
	
470 470
	# print <>file redirs before cmd, because they introduce it
471 471
	"log+" "$cmd_name_log_inc" echo_cmd "$@" $(
472
		set -- "${redirs[@]}" # operate on @redirs
472
		set -- "${redirs[@]}" # operate on ${redirs[@]}
473 473
		while test "$#" -gt 0 && starts_with '[<>][^&]' "$1"
474 474
		do log "$1 \\"; shift; done # log() will run *before* echo_cmd itself
475 475
		echo "$@"

Also available in: Unified diff