View Single Post
  #8   (View Single Post)  
Old 3rd January 2016
J65nko J65nko is offline
Administrator
 
Join Date: May 2008
Location: Budel - the Netherlands
Posts: 4,132
Default

Yes, you are right. The GNU coreutils 8.21 expr on a Linux Mint live USB stick also does print out the result:
Code:
mint@mint ~ $ if expr 'zzz' \> 'aaa' ; then echo Greater ; fi
1
Greater
Probably forgot to escape the '>'
Code:
mint@mint ~ $ if expr 'zzz' > 'aaa' ; then echo Greater ; fi
Greater
mint@mint ~ $ ls -l aaa
-rw-r--r-- 1 mint mint 4 Jan  3 21:33 aaa
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump
Reply With Quote