|
Canada-0-CLAMPS Κατάλογοι Εταιρεία
|
Εταιρικά Νέα :
- ASCII art of letters, with the letters using their own characters
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 least After that package is installed, you can also use that font with figlet (figlet -f letter)
- comparing 2 files in csv based on few columns and replace one column in . . .
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 file1 csv file2 csv AAAA,BBBB,CCCC,DDDD,EEEE,FFFF,GGGG,HHHH,IIII a,b,c,d,e,f,g,h,i aa,bb,cc,dd,ee,ff,gg,hh,ii To then replace the contents of the AAAA column with that of IIII we may move the IIII column to the start
- bash - String Extraction - Unix Linux Stack Exchange
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:
- What is the proper way to display IPv6 Addresses in etc hosts
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 addresses and only have meaning inside a local network, and specifies which network interface owns the address as two interfaces may have the same address
- Reformat delimited file with rows splitted into multiple lines
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 want to use sed to substitute the matches like in the below sed command but not losing the file size bit at the start
- How to merge text of alphabetic lines with the numeric lines in shell . . .
I Have a file that has text like this: AAAA BBBB CCCC DDDD 1234 5678 9012 3456 EEEE 7890 etc And i want to match up the Alphabetic lines with the Numeric lines so they are like this: AAAA
- 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
- text processing - grep one line before the match plus the match - Unix . . .
Again, to see how it works, add l before and after the N to look at the pattern space:: sed 'l;$!N;l; P;D' infile e g with a sample file: zzzz aaaa bbbb cccc dddd hhhh eeee ffff gggg these are the commands that sed executes and corresponding output: cmd output cmd l zzzz $ N # read in the next line l zzzz \naaaa$ # pattern space matches so print up to \n P zzzz D # delete up
- sed -i is writing in reverse order! Why? - Unix Linux Stack Exchange
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
|
|