www.delorie.com/gnu/docs/gawk/gawk_252.html   search  
Buy the book!

The GNU Awk User's Guide

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

C.3.2 Directory and File Operation Built-ins

Two useful functions that are not in awk are chdir (so that an awk program can change its directory) and stat (so that an awk program can gather information about a file). This section implements these functions for gawk in an external extension library.

C.3.2.1 Using chdir and stat  What the new functions will do.
C.3.2.2 C Code for chdir and stat  The code for internal file operations.
C.3.2.3 Integrating the Extensions  How to use an external extension.

  webmaster     delorie software   privacy  
  Copyright 2003   by The Free Software Foundation     Updated Jun 2003