HEX
Server: Apache
System: Linux iad1-shared-e1-13 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
User: dh_x7ke6i (5503775)
PHP: 7.4.33
Disabled: NONE
Upload Files
File: //usr/share/jed/lib/jedusage.sl
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 ();