March 2018
Beginner to intermediate
416 pages
9h 24m
English
Matches the opposite of \s, that is, anything that is not considered whitespace. It is the equivalent of [^[:space:]]. For example, if we want to print all the lines that don't contain any whitespace between e and d, then we can use the \S shorthand, as follows:
$ awk '/e\Sd/' gopr.txt
The output on execution of the preceding code is as follows:
start endende_de1de;deNd
Read now
Unlock full access