I\'m reading bash script tutorials and this seems like it should work, but I clearly am missing something:
isframecount=0 framecount=0 while read p; do if [\"$
Two issues:
Issue 1:
You need to have spaces in test operator. Change the following line:
test
if ["$isframecount" -eq 0]
to
if [ "$isframecount" -eq 0 ]
Issue 2:
$isframecount = 1
There should be no $ sign before variable and no spaces in the assignment operator
$
Change it to isframecount=1
isframecount=1