Documented -b for brief option.
[samba.git] / examples / printing / smbprint
index a80d60ce4fa16f8f7545483cb504b4682f27f3ff..079f20aac4126bda15bddc4aac2326861941d971 100755 (executable)
@@ -53,7 +53,7 @@ logfile=/tmp/smb-print.log
 #   Extract the directory name from the file name.
 #   Concat this with /.config to get the config file.
 #
 #   Extract the directory name from the file name.
 #   Concat this with /.config to get the config file.
 #
-eval acct_file=\$$#
+eval acct_file=\${$#}
 spool_dir=`dirname $acct_file` 
 config_file=$spool_dir/.config
 
 spool_dir=`dirname $acct_file` 
 config_file=$spool_dir/.config