bug-gawk
[Top][All Lists]
Advanced

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

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


From: arnold
Subject: Re: [bug-gawk] Is there a way to print a character in the escaped form?
Date: Wed, 23 Jan 2019 00:05:51 -0700
User-agent: Heirloom mailx 12.5 7/5/10

Peng Yu <address@hidden> wrote:

> I'd expect something more like %q in Go Printf() beatifically print
> the control characters.

Why would you expect this?  It's not in POSIX, nor has it ever been in
awk, nor is it necessary to dump every possible feature from every other
programming language into gawk.

> It can not be easily done in awk?

See the solution David already provided you.



reply via email to

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