User Tools

Site Tools


awk:awk_output

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
awk:awk_output [2021/01/06 15:38] peterawk:awk_output [2022/06/13 09:47] (current) peter
Line 16: Line 16:
 ===== Display Tidy Output ===== ===== Display Tidy Output =====
  
-Multiple commands can be passed together.  For instance issue the following command:+Multiple commands can be passed together.
  
 <code awk> <code awk>
Line 22: Line 22:
 </code> </code>
  
-which will display something like:+returns:
  
 <code> <code>
Line 65: Line 65:
 ===== Adding Text ===== ===== Adding Text =====
  
-Additional text can be added to lines. For instance issue the following command:+Additional text can be added to lines.
  
 <code awk> <code awk>
Line 71: Line 71:
 </code> </code>
  
-which will display something like:+returns:
  
 <code> <code>
Line 86: Line 86:
  
 ===== Advanced Text Output ===== ===== Advanced Text Output =====
- 
-For more complex manipulation of text issue the following command: 
  
 <code awk> <code awk>
Line 93: Line 91:
 </code> </code>
  
-which will display something like:+returns:
  
 <code> <code>
Line 100: Line 98:
 </code> </code>
  
-The **printf** command can be used to handle more complex output requirements.+<WRAP info> 
 +**NOTE:**  The **printf** command can be used to handle more complex output requirements.
  
 This is the list of specifications supported by the printf command: This is the list of specifications supported by the printf command:
Line 114: Line 113:
 |%x|Prints an unsigned hexadecimal number.| |%x|Prints an unsigned hexadecimal number.|
 |%%|Prints a percent sign; no conversion is performed.| |%%|Prints a percent sign; no conversion is performed.|
 +
 +
 +</WRAP>
  
 ---- ----
  
awk/awk_output.1609947495.txt.gz · Last modified: 2021/01/06 15:38 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki