
ASCII art of letters, with the letters using their own characters
Apr 5, 2017 · $ 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 …
text processing - Finding two patterns in a line and remove the ...
Nov 18, 2021 · Just the inclusion of the ? is enough for Raku to know to stop at the appropriate spot nearest the left-end of the consecutive-B run (the B**4 regex tells Raku to search for 4 …
Why am I getting this output in from sort? [closed]
Jun 12, 2018 · Locale locale locale. You get unexpected results because your default locale is something other than C or C.UTF-8.
What $ {var/a/b/\c} means? - Unix & Linux Stack Exchange
> X="aaaa" > echo ${X//a/b} # substitute all occurences of a with b > bbbb Thus in your first example your parameter was "a/b" and you told bash to replace the first occurence of "b" in …
Reformat delimited file with rows splitted into multiple lines
Jun 14, 2019 · FIELD1 FIELD2 FIELD3 FIELD4 aaaa aaaa aaaa aaaa bbbb bbbb bbbb bbbb cccc cccc cccc cccc I guess that if I can fix a row like ROW2, fixing ROW3 would be similar but 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, …
sed - Tell a regex expression to skip the beginning of a line before ...
Stack Exchange Network. Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their …
The simplest method to count lines matching specific patterns ...
2 aaaa 1 bbbb 3 cccc 4 dddd It is close to what I want to achieve, but my desired result is: 2 aaaa 1 bbbb 3 cccc 4 dddd 0 eeee 0 ffff So the problem is: how to print '0' if a line from pattern.in file …
How to merge text of alphabetic lines with the numeric lines in …
May 5, 2015 · AAAA 1234 BBBB 5678 CCCC 9012 DDDD 3456 EEEE 7890 Share. Improve this answer. Follow
text processing - grep one line before the match plus the match
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 …