Skript für "confidential" data.
This commit is contained in:
parent
261552f700
commit
3899e8fcdc
|
@ -0,0 +1,14 @@
|
|||
#!/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,
|
||||
grep $DATA datasets/job_metadata_confidential.csv | cut -d "," -f 1-5
|
||||
done
|
Loading…
Reference in New Issue