/usr/bin/jargon is in jargon 4.0.0-5.1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 | #!/usr/bin/perl
#
# Look something up in the jargon file
#
if ( $#ARGV > -1 )
{
if ( $ARGV[0] eq '-s' )
{
$stdout = 1; shift;
if ( $#ARGV <= -1 )
{
print "jargon: entryname is mandatory if -s specified\n";
exit 1;
}
}
else
{
$stdout = 0;
}
$entry = join " ", @ARGV ;
if ( $entry =~ /^([a-zA-z])/ )
{
$index = "= $1 =" ;
}
else
{
$index = '= [^A-Za-z] =' ;
}
if ($stdout)
{
close STDERR; # Don't print progress messages
exec "info", "-o", "-", "jargon", "The Jargon Lexicon", "$index", "$entry";
}
else
{
exec "infobrowser", "jargon", "The Jargon Lexicon", "$index", "$entry";
}
}
else
{
exec "infobrowser", "jargon";
}
|