1#!/bin/bash 2# Copyright 2021 Google Inc. 3# 4# Use of this source code is governed by a BSD-style license that can be 5# found in the LICENSE file. 6 7# Creates a CSV file with all the unique values from one or more columns from 8# /tmp/alljobs.csv. 9 10# The only arg is a comma separated list of column names that will also be used 11# as the output filename. 12 13mlr --csv uniq -f $1 /tmp/alljobs.csv | mlr --csv sort -f $1 > /tmp/$1.csv 14