Table of Contents What is fex? Replace many cut and awk invocations Field selection Tokenizing behavior Command line arguments Usage Examples Real world uses Parse IP and URL from apache logs Show paths from strace Show home directory root paths Download What is fex? Fex is a powerful field extraction tool. Fex provides a very concise language for tokenizeing strings and extracting fields. The basic usage model is that you provide a series of delimiter and field selection pairs. Tokens can be any character, while field selections have a specific syntax. Replace many cut and awk invocations cut(1) from GNU coreutils (on Linux) does not support negative offsets, so you cannot ask cut to only show you the Nth field from the end. Additionally, to cut by multiple fields, you end up having to write cut ...

Extracted automatically from Fex homepage

Install Fex

brew install fex


This formula has no dependencies.