
ASCII art of letters, with the letters using their own characters
2017年4月5日 · $ 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 ...
2021年11月18日 · 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 …
Why am I getting this output in from sort? [closed]
2018年6月12日 · Locale locale locale. You get unexpected results because your default locale is something other than C or C.UTF-8.
comparing 2 files in csv based on few columns and replace one …
2022年11月9日 · GGGG,AAAA,CCCC,DDDD,HHHH,EEEE,BBBB,FFFF,IIII (header) g,a,c,d,h,e,b,f,i gg,aa,cc,dd,hh,ee,bb,ff,ii in the above example i have to compare 4 different …
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
2019年6月14日 · 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 …
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 …
sed - Tell a regex expression to skip the beginning of a line before ...
Thank you for the answers but i dont think i explained the end goal well enough. I want to run find ./ -maxdepth 1 -type d -print0 | xargs -0 du -h --max-depth 1 | sed -e 's/[^\/]*\//--/g;' to print a dir …
How to merge text of alphabetic lines with the numeric lines in …
2015年5月5日 · AAAA 1234 BBBB 5678 CCCC 9012 DDDD 3456 EEEE 7890 Share. Improve this answer. Follow
What is the proper way to display IPv6 Addresses in /etc/hosts
2018年4月11日 · 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, …