Commit 8955a7e7 authored by Julius Wu's avatar Julius Wu

still working on 5

parent 419f66b1
#!/bin/bash #!/bin/bash
echo "Customer: Hours" echo "Customer: Hours"
awk -F, '{ cat timesheet.csv | awk -F"," ' {if (($7 == "Y")) print; } ' | cut -d ',' -f5,8
arr[$5]+=$8
}
END{
for(key in arr) print key , arr[key]}' timesheet.csv | sort -u
declare -i totalhours=0 declare -i totalhours=0
while read LINE while read LINE
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment