Difference between revisions of "Gawk"

From UFRC
Jump to navigation Jump to search
(Created page with "Category:SoftwareCategory:Software Tools {|<!--CONFIGURATION: REQUIRED--> |{{#vardefine:app|gawk}} |{{#vardefine:url|https://www.gnu.org/software/gawk/}} <!--CONFIGURA...")
 
m (Text replacement - "#uppercase" to "uc")
Line 26: Line 26:
 
Run <code>module spider {{#var:app}}</code> to find out what environment modules are available for this application.
 
Run <code>module spider {{#var:app}}</code> to find out what environment modules are available for this application.
 
==System Variables==
 
==System Variables==
* HPC_{{#uppercase:{{#var:app}}}}_DIR - installation directory
+
* HPC_{{uc:{{#var:app}}}}_DIR - installation directory
* HPC_{{#uppercase:{{#var:app}}}}_BIN - executable directory
+
* HPC_{{uc:{{#var:app}}}}_BIN - executable directory
* HPC_{{#uppercase:{{#var:app}}}}_EXE - examples directory
+
* HPC_{{uc:{{#var:app}}}}_EXE - examples directory
* HPC_{{#uppercase:{{#var:app}}}}_INC - include directory
+
* HPC_{{uc:{{#var:app}}}}_INC - include directory
* HPC_{{#uppercase:{{#var:app}}}}_MAN - manual directory
+
* HPC_{{uc:{{#var:app}}}}_MAN - manual directory
 
<!--Configuration-->
 
<!--Configuration-->
 
{{#if: {{#var: conf}}|==Configuration==
 
{{#if: {{#var: conf}}|==Configuration==

Revision as of 21:20, 6 December 2019

Description

gawk website  

If you are like many computer users, you would frequently like to make changes in various text files wherever certain patterns appear, or extract data from parts of certain lines while discarding the rest. To write a program to do this in a language such as C or Pascal is a time-consuming inconvenience that may take many lines of code. The job is easy with awk, especially the GNU implementation: gawk.

The awk utility interprets a special-purpose programming language that makes it possible to handle simple data-reformatting jobs with just a few lines of code.

Environment Modules

Run module spider gawk to find out what environment modules are available for this application.

System Variables

  • HPC_GAWK_DIR - installation directory
  • HPC_GAWK_BIN - executable directory
  • HPC_GAWK_EXE - examples directory
  • HPC_GAWK_INC - include directory
  • HPC_GAWK_MAN - manual directory