Category:TXR: Difference between revisions
Content added Content deleted
No edit summary |
m (Linkify, move the site into the language template) |
||
Line 1: | Line 1: | ||
{{stub}}{{language |
{{stub}}{{language |
||
|site=http://www.nongnu.org/txr/}} |
|||
TXR |
TXR is a new text extraction language implemented in [[C]], running on [[Linux]] (and possibly other [[POSIX]] platforms). |
||
Here is a very basic hello-world-type TXR query that re-implements the "free" utility: |
Here is a very basic hello-world-type TXR query that re-implements the "free" utility: |
||
Line 45: | Line 46: | ||
</pre> |
</pre> |
||
means, "Next, please switch to scanning the output of this echo command with some variables substituted in. |
means, "Next, please switch to scanning the output of this echo command with some variables substituted in. Then capture entire first line of this command into the USED variable." |
||
Then capture entire first line of this command into the USED variable." |