bug-gawk
[Top][All Lists]
Advanced

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

Re: [bug-gawk] mention how to specify file names containing = in the doc


From: arnold
Subject: Re: [bug-gawk] mention how to specify file names containing = in the doc
Date: Sun, 11 Aug 2019 12:31:49 -0600
User-agent: Heirloom mailx 12.5 7/5/10

Stephane Chazelas <address@hidden> wrote:

> 2019-08-11 06:03:28 -0600, address@hidden:
> [...]
> > I guess you have to down grade the trick from "well documented" to
> > merely "well known". :-)  It's part of the grand Oral Tradition of Unix,
> > along with the similar trick of  using ./-x to cause a file that
> > starts with a minus sign to not be treated as an option.
> > 
> > I will go ahead and add a sentence or two at an appropriate spot in
> > the manual.
> > 
> > Thanks for the suggestion,
> [...]
>
> The
>
> gawk -e '{gawk code here}' -E /dev/null "$file"
>
> trick to allow arbitrary file names (includes "--help",
> "dc=example,dc.com.ldif" but unfortunately not "-") may also be
> worth noting.

This is both advanced and rather gawk specific ... I think I'll leave
well enough alone, for now.

Thanks,

Arnold



reply via email to

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