/usr/share/jed/lib/jedusage.sl is in jed-common 1:0.99.19-3.
This file is owned by root:root, with mode 0o644.
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 | private define p(x)
{
() = fprintf (stdout, "%s\n", x);
}
p("Jed usage forms:");
p("");
p("0. jed [--version | --help]");
p("1. jed [--batch] [-n] [-e emulation] [-a alt-jedrc-file] \\");
p(" [file ...] \\ % edit files");
p(" [-g linenumber] \\ % goto line");
p(" [-s search-string] \\ % performa search");
p(" [-l file-to-load] \\ % load slang file");
p(" [-f function] \\ % execute function");
p(" [-i file-to-insert] \\ % insert file");
p(" [-2] \\ % split window");
p(" [-tmp] \\ % do not backup buffer");
p(" [-hook funct (argv)] \\ % exec funct with rest of argv parameters");
p(" [--ANYTHING] % execute ANYTHING as a function");
p("");
p("2. jed -script FILE [arg ...]");
p("");
p("3. jed-script FILE [arg ...]");
p(" This form sets __argv[0] to FILE, __argv[1] to arg, ...");
p("");
quit_jed ();
|