Data update

This commit is contained in:
Ingy döt Net 2026-04-30 12:34:36 -04:00
parent 4bb20c9b71
commit cbaf4c4b64
12390 changed files with 318560 additions and 27248 deletions

View file

@ -0,0 +1,6 @@
with Ada.Command_Line, Ada.Text_IO;
procedure Command_Name is
begin
Ada.Text_IO.Put_Line(Ada.Command_Line.Command_Name);
end Command_Name;

View file

@ -0,0 +1 @@
printf( "This is %s\n", args[ 0 ] )

View file

@ -0,0 +1 @@
my name

View file

@ -0,0 +1,4 @@
# file.ark
(import std.Sys)
(print sys:programName)

View file

@ -0,0 +1,18 @@
identification division.
program-id. sample.
data division.
working-storage section.
01 progname pic x(16).
procedure division.
sample-main.
display 0 upon argument-number
accept progname from argument-value
display "argument-value zero :" progname ":"
display "function module-id :" function module-id ":"
goback.
end program sample.

View file

@ -0,0 +1,2 @@
puts "PROGRAM_NAME = #{PROGRAM_NAME}"
puts "Process.executable_path = #{Process.executable_path}"

View file

@ -0,0 +1,8 @@
:;exec emacs -batch -l $0 -f main $*
;;; Shebang from John Swaby
;;; http://www.emacswiki.org/emacs/EmacsScripts
(defun main ()
(let ((program (nth 2 command-line-args)))
(message "Program: %s" program)))

View file

@ -0,0 +1,2 @@
constant cmd = command_line()
puts(1,cmd[2])

View file

@ -0,0 +1 @@
(print (.. "This is " (. arg 0)))

View file

@ -1,3 +1,8 @@
function foo() {
return arguments.callee.name;
function filename() {
// get the current script's URL
// or in the event of an embedded script, fall back to the document URL
const src = document.currentScript.src || document.location.href;
// parse out just the file name from the URL
// (no trailing slashes, search params or anchor fragments)
return src.replace(/[?#].*/, '').match(/[^\/]+/g);
}

View file

@ -1 +1,4 @@
(function(){alert(arguments.callee.name);}())
function filename() {
const src = import.meta.url;
return src.replace(/[?#].*/, '').match(/[^\/]+/g);
}

View file

@ -0,0 +1 @@
print( $"This is { arg[ 0 ] }" )

View file

@ -0,0 +1,3 @@
# write this in file <program.ps1>
$MyInvocation.MyCommand.Name
# launch with <.\program>

View file

@ -0,0 +1,5 @@
Wscript.Echo "FullName:",Wscript.FullName
Wscript.Echo "Name:",Wscript.Name
Wscript.Echo "Path:",Wscript.Path
Wscript.Echo "ScriptFullName:",Wscript.ScriptFullName
Wscript.Echo "ScriptName:",Wscript.ScriptName