#!/bin/bash

/bin/bash -c 'sort -m <(zcat /mnt/flashblade/dusanov/s3logs/2019-05-01_filtered_sorted_uniq.gz) <(zcat /mnt/flashblade/dusanov/s3logs/2019-05-02_filtered_sorted_uniq.gz) <(zcat /mnt/flashblade/dusanov/s3logs/2019-05-03_filtered_sorted_uniq.gz) <(zcat /mnt/flashblade/dusanov/s3logs/2019-05-04_filtered_sorted_uniq.gz) <(zcat /mnt/flashblade/dusanov/s3logs/2019-05-05_filtered_sorted_uniq.gz) <(zcat /mnt/flashblade/dusanov/s3logs/2019-05-06_filtered_sorted_uniq.gz) <(zcat /mnt/flashblade/dusanov/s3logs/2019-05-07_filtered_sorted_uniq.gz) <(zcat /mnt/flashblade/dusanov/s3logs/2019-05-08_filtered_sorted_uniq.gz) <(zcat /mnt/flashblade/dusanov/s3logs/2019-05-09_filtered_sorted_uniq.gz) <(zcat /mnt/flashblade/dusanov/s3logs/2019-05-10_filtered_sorted_uniq.gz) <(zcat /mnt/flashblade/dusanov/s3logs/2019-05-11_filtered_sorted_uniq.gz) <(zcat /mnt/flashblade/dusanov/s3logs/2019-05-12_filtered_sorted_uniq.gz) <(zcat /mnt/flashblade/dusanov/s3logs/2019-05-13_filtered_sorted_uniq.gz) <(zcat /mnt/flashblade/dusanov/s3logs/2019-05-14_filtered_sorted_uniq.gz) | uniq | gzip > merged_uniqs_2019-05-01_2019-05-14.gz'