Giter Club home page Giter Club logo

learn_awk's Introduction

# add by yws
```
./autogen.sh
./configure CFLAGS="-g -O0"
make V=1


cat test.txt |./gawk -v FS="\x09" -v OFS="_" '{$1=$1;printf("%s\n", $0)}'
a	b		c
1 2  3   4
1	2		3
```

Copyright (C) 2005, 2006, 2007, 2009, 2010, 2011, 2012
  Free Software Foundation, Inc.
  
  Copying and distribution of this file, with or without modification,
  are permitted in any medium without royalty provided the copyright
  notice and this notice are preserved.

README:

This is GNU Awk 4.0.2. It is upwardly compatible with Brian Kernighan's
version of Unix awk.  It is almost completely compliant with the
2008 POSIX 1003.1 standard for awk. (See the note below about POSIX.)

This is a bug fix release. See NEWS and ChangeLog for details.

Work to be done is described briefly in the FUTURES file.  Changes in this
version are summarized in the NEWS file. Please read the LIMITATIONS file.

Read the file POSIX.STD for a discussion of issues where the standard
says one thing but gawk does something different.

To format the documentation with TeX, use at least version 2010-12-23.17
of texinfo.tex. There is a usable copy of texinfo.tex in the doc directory.

INSTALLATION:

Check whether there is a system-specific README file for your system under
the `README_d' directory.  If there's something there that you should
have read and didn't, and you bug me about it, I'm going to yell at you.

See the file INSTALL for installation instructions.

If you have neither bison nor yacc, use the awkgram.c file here.  It was
generated with bison, and has no proprietary code in it.  (Note that
modifying awkgram.y without bison or yacc will be difficult, at best.
You might want to get a copy of bison from the FSF too.)

If you have an MS-DOS, MS-Windows, or OS/2 system, use the stuff in the `pc'
directory.  Similarly, there is a separate directory for VMS.

Appendix B of ``GAWK: Effective Awk Programming'' discusses configuration
in detail. The configuration process is based on GNU Autoconf and
Automake.

After successful compilation, do `make check' to run the test suite.
There should be no output from the `cmp' invocations except in the
cases where there are small differences in floating point values, and
possibly in the case of strftime. Several of the tests ignore errors
on purpose; those are not a problem.  If there are other differences,
please investigate and report the problem.

PRINTING THE MANUAL

The `doc' directory contains a recent version of texinfo.tex, which will
be necessary for printing the manual.  Use `make dvi' to get a DVI file
from the manual. In the `doc' directory, use `make postscript' to get
PostScript versions of the manual, the man page, and the reference card.
Use `make pdf' to get PDF versions of the manuals, the man page and
the reference card.

BUG REPORTS AND FIXES (Un*x systems):

Please coordinate changes through Arnold Robbins. In particular, see
the section in the manual on reporting bugs. Note that comp.lang.awk
is about the worst place to post a gawk bug report. Please, use the
mechanisms outlined in the manual.

Email should be sent to [email protected].  This is now a separate mailing
list at GNU Central.  The advantage to using this address is that bug
reports are archived at GNU Central.

Arnold Robbins

BUG REPORTS AND FIXES, non-Unix systems:

MS-DOS with DJGPP:
	Scott Deifik
	[email protected]

MS-Windows with MinGW:
	Eli Zaretskii
	[email protected]

OS/2:
	Andreas Buening
	[email protected]

VMS:
	Pat Rankin
	[email protected]

z/OS (OS/390):
	Dave Pitts
	[email protected]

learn_awk's People

Watchers

James Cloos avatar ywsswy avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.