It is about 3 days I’m struggling with
D1="`ls $g???_???_?????$DATE1`"" ` |`""` wc -l`"
if [ $D1 -eq "0" ]
and still it ends with syntax error.
The last syntax error bash tells is syntax error at line 1: `|’ unexpected.
Can you please help me?
This is what finally worked:
I meantion it here because it took me lots of time to find the combination that work correctly and this was actually the correct answer.