Ok, so I have 2 files with a lot of data in the columns that I need. I find it difficult to put into words, so let me try to give an example.
File 1 contains:
Server1; 15min load 0.20 at 16 CPUs; Server2; 15min load 0.46 at 4 CPUs; Server3; 15min load 0.10 at 16 CPUs; ...
File 2 contains:
72.4% (12.01) 73.9% (12.26) 72.1% (11.97) ...
What I need:
Server1; 15min load 0.20 at 16 CPUs; 72.4% (12.01) Server2; 15min load 0.46 at 4 CPUs; 73.9% (12.26) Server3; 15min load 0.10 at 16 CPUs; 72.1% (11.97) ...
Dots are thousands of lines, therefore, you need to automate. I tried everything that could work:
- Ctrl + a in file 2, then Ctrl + a , Ctrl + Shift + L in file 1 before pasting
- Ctrl + a , Ctrl + Shift + L in file 2, then Ctrl + a , Ctrl + Shift + L in file 1 before pasting
I somehow did this before, but now I'm trying to replicate.
I know this can be done in a shell script, but I am very curious about how Sublime text controls it.
Thanks in advance!
source share