Skip to main content
deleted 67 characters in body; edited tags; edited title
Source Link
Jeff Schaller
  • 68.8k
  • 35
  • 122
  • 265

Comparing multiple files and printing larger values alongwithalong with filenames

I have about 2000 files in the following format:

FILEA: WHWH-19975612.txt

0.1   70  30
0.01  70  32
0.9   72  32
...

FILEB: WHWH-20004526.txt

0.2   70 30
0.001 70 32
1.0   72 32
...

Desired output

0.2  70 30  WHWH-20004526
0.01 70 32  WHWH-19975612
1.0  72 32  WHWH-20004526
...

Doing this will keep track of files where larger values are present, which I can call for further processing. Apologize if a similar question is already present.

Comparing multiple files and printing larger values alongwith filenames

I have about 2000 files in following format

FILEA: WHWH-19975612.txt

0.1   70  30
0.01  70  32
0.9   72  32
...

FILEB: WHWH-20004526.txt

0.2   70 30
0.001 70 32
1.0   72 32
...

Desired output

0.2  70 30  WHWH-20004526
0.01 70 32  WHWH-19975612
1.0  72 32  WHWH-20004526
...

Doing this will keep track of files where larger values are present, which I can call for further processing. Apologize if a similar question is already present.

Comparing multiple files and printing larger values along with filenames

I have about 2000 files in the following format:

FILEA: WHWH-19975612.txt

0.1   70  30
0.01  70  32
0.9   72  32
...

FILEB: WHWH-20004526.txt

0.2   70 30
0.001 70 32
1.0   72 32
...

Desired output

0.2  70 30  WHWH-20004526
0.01 70 32  WHWH-19975612
1.0  72 32  WHWH-20004526
...

Doing this will keep track of files where larger values are present, which I can call for further processing.

deleted 1 character in body
Source Link

I have about 2000 files in following format

FILEA: WHWH-19975612.txt

0.1   70  30
0.01  70  32
0.9   72  32
...

FILEB: WHWH-20004526.txt

0.2   70 30
0.001 70 32
1.0   72 32
...

Desired output

0.2  70 30  WHWH-20004526
0.01 70 32  WHWH-19975612
1.0  72 32  WHWH-20004526
...

Doing this will keep track of files where larger values are present, which I can call for further processing. Apologize if a similar questionsquestion is already present.

I have about 2000 files in following format

FILEA: WHWH-19975612.txt

0.1   70  30
0.01  70  32
0.9   72  32
...

FILEB: WHWH-20004526.txt

0.2   70 30
0.001 70 32
1.0   72 32
...

Desired output

0.2  70 30  WHWH-20004526
0.01 70 32  WHWH-19975612
1.0  72 32  WHWH-20004526
...

Doing this will keep track of files where larger values are present, which I can call for further processing. Apologize if a similar questions is already present.

I have about 2000 files in following format

FILEA: WHWH-19975612.txt

0.1   70  30
0.01  70  32
0.9   72  32
...

FILEB: WHWH-20004526.txt

0.2   70 30
0.001 70 32
1.0   72 32
...

Desired output

0.2  70 30  WHWH-20004526
0.01 70 32  WHWH-19975612
1.0  72 32  WHWH-20004526
...

Doing this will keep track of files where larger values are present, which I can call for further processing. Apologize if a similar question is already present.

I have about 2000 files in following format

FILEA: WHWH-19975612.txt

0.1 70 30

0.01 70 32

0.9 72 32

...

0.1   70  30
0.01  70  32
0.9   72  32
...

FILEB: WHWH-20004526.txt

0.2 70 30

0.001 70 32

1.0 72 32

...

0.2   70 30
0.001 70 32
1.0   72 32
...

Desired output

0.2 70 30 WHWH-20004526

0.01 70 32 WHWH-19975612

1.0 72 32 WHWH-20004526

...

0.2  70 30  WHWH-20004526
0.01 70 32  WHWH-19975612
1.0  72 32  WHWH-20004526
...

Doing this will keep track of files where larger values are present, which I can call for further processing. Apologize if a similar questions is already present.

I have about 2000 files in following format

FILEA: WHWH-19975612.txt

0.1 70 30

0.01 70 32

0.9 72 32

...

FILEB: WHWH-20004526.txt

0.2 70 30

0.001 70 32

1.0 72 32

...

Desired output

0.2 70 30 WHWH-20004526

0.01 70 32 WHWH-19975612

1.0 72 32 WHWH-20004526

...

Doing this will keep track of files where larger values are present, which I can call for further processing. Apologize if a similar questions is already present.

I have about 2000 files in following format

FILEA: WHWH-19975612.txt

0.1   70  30
0.01  70  32
0.9   72  32
...

FILEB: WHWH-20004526.txt

0.2   70 30
0.001 70 32
1.0   72 32
...

Desired output

0.2  70 30  WHWH-20004526
0.01 70 32  WHWH-19975612
1.0  72 32  WHWH-20004526
...

Doing this will keep track of files where larger values are present, which I can call for further processing. Apologize if a similar questions is already present.

Source Link
Loading