Posts

Showing posts from August 29, 2018

Checking if the end of each line in the file is ending with a letter followed by 8 digits number

Image
Clash Royale CLAN TAG #URR8PPP up vote 2 down vote favorite I have a problem with checking if each line of my files is ending with a letter (A-Z (always capital)) followed by exatcly 8 digit numbers (doesnt matter which one). So I have a number of files and content of each file looks like this: Nc1nc2cc3OCCOc3cc2s1 A10000001 CCN(CC)C1CCN(Cc2cc(I)cc(I)c2O)CC1 B100000002 CCN(CC)C1CCN(Cc2cc(cc(I)c2O)C#CCO)CC1 C10000003 There is always a space between this "string" and letter wtih numbers. So, in this example B100000002 there are 9 digits after letter. Since I done most of the things manually I would like to check if in my files there are errors. Can anybody help me with some bash command so I can see which lines have different, incorrect pattern? Thanks! bash text-processing share | improve this question asked May 14 at 14:30 sergio 56 5 add a comment  |  up vote 2 down vote favorite I have a problem with che...

How do I restore the default Xubuntu boot screen?

Image
Clash Royale CLAN TAG #URR8PPP up vote 0 down vote favorite I experimented with some themes using 'plymouth'; now, I want to get the default boot screen back with its animation. What should I do? xubuntu plymouth share | improve this question edited May 14 at 23:41 K7AAY 3,732 2 14 43 asked May 14 at 14:46 Pete_Khlunowsky 3 1 add a comment  |  up vote 0 down vote favorite I experimented with some themes using 'plymouth'; now, I want to get the default boot screen back with its animation. What should I do? xubuntu plymouth share | improve this question edited May 14 at 23:41 K7AAY 3,732 2 14 43 asked May 14 at 14:46 Pete_Khlunowsky 3 1 add a comment  |  up vote 0 down vote favorite up vote 0 down vote favorite I experimented with some themes using 'plymouth'; now, I want to get the default boot screen back w...