Horje
awk last match Code Example
awk last match
You can use $NF with the command awk to get the last argument as follows:
awk -F 'delimiter' '{print $NF}'
And for getting penultimate or previous arguments type $(NF-n):
awk -F 'delimiter' '{print $(NF-1)}' #penultimate argument




Shell

Related
recursive rename powershell Code Example recursive rename powershell Code Example
windows ssh-copy-id Code Example windows ssh-copy-id Code Example
git checkout to pr Code Example git checkout to pr Code Example
What software can I Install after a fresh Ubuntu Setup Code Example What software can I Install after a fresh Ubuntu Setup Code Example
install kazam screencaster ubuntu Code Example install kazam screencaster ubuntu Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
9