-f が単なる文字列として解釈されているのでは

`-n STRING'
`STRING'
True if the length of STRING is nonzero.