From: Junio C Hamano Date: Sun, 02 Apr 2017 16:46:34 GMT Subject: Re: [PATCH] contrib/git-resurrect.sh: do not write \t for HT in sed scripts Message-ID: In-Reply-To: <7028b4eb-aa2b-aaf6-764d-cffab24a9968@gmail.com> Jakub Narębski writes: > W dniu 01.04.2017 o 06:14, Junio C Hamano pisze: > >> Just like we did in 0d1d6e50 ("t/t7003: replace \t with literal tab >> in sed expression", 2010-08-12), avoid writing "\t" for HT in sed >> scripts, which is not portable. > > I guess it is not possible to use HT variable (similar to LF that we > have in t/test-lib.sh, and which is defined by some scripts) set to > literal tab > > HT=" " > > wouldn't work there, is it? > > Using this variable would make literal tab character more visible. Patches welcome.