bug-gawk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-gawk] Is there a way to print a character in the escaped form?


From: Peng Yu
Subject: [bug-gawk] Is there a way to print a character in the escaped form?
Date: Tue, 22 Jan 2019 14:06:29 -0600

Hi,

I don't find a way to print '\t' as '\t' literally. Is there a way to
do so? Thanks.

awk -v x='\t' -e 'BEGIN { printf("%s\n", x) }'

-- 
Regards,
Peng



reply via email to

[Prev in Thread] Current Thread [Next in Thread]