Sometimes you may work on a remote machine and you don't have sudo permissions to install software you like. If the system administrator cannot add you to the sudoers file due to the strict security policy, then you will need to find a way to install your package. It happened …
Yearly Archives: 2019
Using regular expressions with Perl, sed and grep for selecting columns in delimited text
A solution without regular expressions
There are many ways for selecting columns in a delimited text. The easiest ones require GNU awk, cut and Perl. Let's consider the following file:
1 2 3 4 |
[johndoe@ArchLinux]% cat |