Bash Command Line and Shell Scripts by Oswald Campesato

Bash Command Line and Shell Scripts by Oswald Campesato

Author:Oswald Campesato [Campesato, Oswald]
Language: eng
Format: epub, mobi, pdf
ISBN: 9781683925040
Publisher: Mercury Learning and Information LLC.
Published: 2020-08-15T04:00:00+00:00


Listing 5.4: skuvalues.txt

4520 5530 6550 7200 8000

Listing 5.5: skusold.txt

4520 12 4520 15 5530 5 5530 12 6550 0 6550 8 7200 50 7200 10 7200 30 8000 25 8000 45 8000 90

THE BACKSLASH CHARACTER AND THE GREP COMMAND

The “\” character has a special interpretation when it’s followed by the following characters:

“\b” = Match the empty string at the edge of a word

“\B” = Match the empty string provided it’s not at the edge of a word, so:

“\brat\b” matches the separate word “rat” but not “crate”, and

“\Brat\B” matches “crate” but not “furry rat”

“\<” = Match the empty string at the beginning of the word.

“\>” = Match the empty string at the end of the word.

“\w” = Match word constituent, it is a synonym for “[_[:alnum:]]”.

“\W” = Match non-word constituent, it is a synonym for “[^_[:alnum:]]”.

“\s” = Match whitespace, it is a synonym for “[[:space:]]”.

“\S” = Match non-whitespace, it is a synonym for “[^[:space:]]”.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.