Package: libjmac-java
Version: 1.74-2
Severity: wishlist
Tags: patch

Currently, JMAC can be invoked as a command line tool using the syntax:
$ java -jar /usr/share/java/jmac.jar <command> <infile> [outfile]

I propose adding a simple launcher script into /usr/bin/, called "jmac"
with the following contents:

---
#!/bin/sh

if [ -n "$3" ]
then
  java -jar /usr/share/java/jmac.jar $1 "$2" "$3"
else
  java -jar /usr/share/java/jmac.jar $1 "$2"
fi
---

That way, jmac could be used as a command-line tool simply by:
$ jmac <command> <infile> [outfile]

--- System information. ---
Architecture: amd64
Kernel:       Linux 2.6.28-rm

Debian Release: 5.0
  500 testing         apt-proxy.i4 

--- Package information. ---
Depends              (Version) | Installed
==============================-+-===========
java-gcj-compat                | 
 OR java1-runtime              | 
 OR java2-runtime              | 




-- 
With respect,
Roman



_______________________________________________
pkg-java-maintainers mailing list
pkg-java-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-java-maintainers

Reply via email to