You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
463 B

#!/bin/bash
if [[ ! -e datasets/job_metadata_confidential.csv ]] ; then
exit 0
fi
# This script extracts the actual usernames and job-informations
# As it is confidential information, we cannot include the files
for I in $@ ; do
DATA=$(grep $I datasets/job_metadata.csv | cut -d "," -f 7-)
echo -n $I,
3 years ago
if [[ "$DATA" == "" ]] ; then
echo "No data found"
continue
fi
grep $DATA datasets/job_metadata_confidential.csv | cut -d "," -f 1-5
done