Here is my code and output:
Code:
#!/bin/bash
s=($(quota))
o=$(echo "scale=4;${s[17]}/${s[18]}*100."|bc -l)
printf "You have used %4g%% of your allocated space." $o
Code:
EOF encountered in a comment.
(standard_in) 1: syntax error
You have used 0% of your allocated space.
The script is working correctly with the exception of the error message.