
ASCII art of letters, with the letters using their own characters
Apr 5, 2017 · 5 With toilet: $ toilet -f letter ABC A BBBB CCC A A B B C C AAAAA BBBB C A A B B C C A A BBBB CCC That letter font is a figlet font that comes with the toilet-fonts package on Debian at …
comparing 2 files in csv based on few columns and replace one column …
Nov 9, 2022 · Using Miller (mlr) to perform a relational JOIN operation on the named fields that the two files have in common: $ mlr --csv join -j AAAA,BBBB,CCCC,DDDD,EEEE,FFFF,GGGG,HHHH -f …
bash - String Extraction - Unix & Linux Stack Exchange
Jun 4, 2021 · AAAA - BBBB (CCCC) - (DDDD) I'm only interested in using the first set AAAA - BBBB individually (i.e. AAAA and BBBB) I've chopped off the ' (CCCC) - (DDDD)' using:
Reformat delimited file with rows splitted into multiple lines
Jun 14, 2019 · I have an input like this: FIELD1 FIELD2 FIELD3 FIELD4 aaaa bbbb cccc dddd eeee ffff gggg hhhh iiii jjjj kk llll kk It should be a space separated li...
sed - Tell a regex expression to skip the beginning of a line before ...
I only want it to match ./aaaa/bbbb/cccc/ but I can't figure out how to do it. I want to specifically match/find all occurrences of "everything before a forward slash up to and including the slash" as I …
What is the proper way to display IPv6 Addresses in /etc/hosts
Apr 11, 2018 · aaaa:bbbb:cccc:dddd:eeee:ffff:gggg:hhhh[%int][/netmask] netmask works the same as IPv4, except that it can go up to 128. The %int is required for scoped addresses, which are not global …
sed -i is writing in reverse order! Why? - Unix & Linux Stack Exchange
Aug 4, 2021 · Why is sed writing to my file in reverse order? I need to read a text file (old_file.txt) that contains the following data: what's in the file old_file.txt: 1.00 2.00 3.00 I have a second file, w...
text processing - grep one line before the match plus the match - Unix ...
You can do: grep -B 1 '&$' your_file This will look for lines ending in &, remove $ to match lines with & anywhere in them. The -B switch tells grep to output "context" lines that come before the lines that …
Can tr work with regex? - Unix & Linux Stack Exchange
I have a file like this: AAAA BBBB CCCC DDDD etc Words in separate lines. I want to add them quotes using tr. So I tried the following: 1) To add a quote in the start of each word ...
raspberry pi - Debian static IPv6 address, RA & DNS issues - Unix ...
Nov 10, 2020 · I try to configure static IPv6 on my Debian Stretch machine (RaspberryPi with Pi Hole) but I have various issues I cannot handle. My dhcpcd.conf file : # Generate SLAAC address using …