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,11 @@
with Ada.Text_IO;
procedure Copy_Stdin_To_Stdout is
use Ada.Text_IO;
C : Character;
begin
while not End_Of_File loop
Get_Immediate (C);
Put (C);
end loop;
end Copy_Stdin_To_Stdout;

View file

@ -0,0 +1 @@
findstr ^^

View file

@ -0,0 +1 @@
findstr "^"

View file

@ -0,0 +1 @@
findstr $

View file

@ -0,0 +1 @@
find/v ""

View file

@ -0,0 +1 @@
more

View file

@ -0,0 +1 @@
copy con[:] con[:]

View file

@ -0,0 +1 @@
type con[:]

View file

@ -0,0 +1,2 @@
@setlocal enabledelayedexpansion
@<con (for /l %%# in (0 0 1) do @set/p input=&echo:!input!)

View file

@ -0,0 +1,20 @@
! Copy stdin to stdout
! tested with GNU Fortran (Ubuntu 15.2.0-4ubuntu4) 15.2.0 on Kubuntu 25.10
! uses non-standard function fget and gput, both are available in gfortran only.
! ------------------------------------------------------------------------------------------
!
program cp
implicit none
character :: c ! The chcaracter to read
integer :: ios ! IO Status
do
ios = fget (c) ! gfortran only
if (ios .ne. 0) exit
call fput(c) ! gfortran only
end do
end program cp

View file

@ -0,0 +1,20 @@
! Copy stdin to stdout
! tested with Intel ifx (IFX) 2025.2.1 20250806 on Kubuntu 25.10
!
! can also be compiled with gfortran but fails at run-time because it cannot change the access parameter
! -------------------------------------------------------------------------------------------------------
!
program cp
character :: c
integer:: ios
open (unit=5, form='unformatted', access='stream', action ='read')
open (unit=6, form='unformatted', access='stream', action ='write')
do
read (5, iostat=ios) c
if (ios .ne. 0) exit
write (6) c
end do
end program cp

View file

@ -0,0 +1,3 @@
procedure main()
every write(!&input)
end

View file

@ -0,0 +1,10 @@
MODULE CopyStdinToStdout;
IMPORT In, Out;
VAR c : CHAR;
BEGIN
In.Char( c );
WHILE In.Done DO
Out.Char( c );
In.Char( c )
END
END CopyStdinToStdout.

View file

@ -0,0 +1 @@
cat

View file

@ -0,0 +1,11 @@
NAME
cat - concatenate files and print on the standard output
SYNOPSIS
cat [OPTION]... [FILE]...
DESCRIPTION
Concatenate FILE(s) to standard output.
:
With no FILE(s), or when FILE is -, read standard input.
:

View file

@ -0,0 +1,4 @@
do
s=wscript.stdin.readline
wscript.stdout.writeline s
loop until asc(left(s,1))=26