How to resolve syntax error: "(" unexpected

view story

http://stackoverflow.com – Hi I have coded this bash script to count the number of tabs in file.but when i run the script i am getting this error. what is the mistake i ve done? line 5: syntax error: "(" unexpected Code:- #!/bin/sh # FILE='unit-1-slide.txt' OUTPUTFILE='output-for'- $FILE' COUNT=$(awk'{print gsub(/\t/,"")}' $FILE) OUTPUT_PATH='/home/user/Desktop' echo $COUNT >> $OUTPUTFILE echo "Done!" (HowTos)