rc

[fork] interactive rc shell
Log | Files | Refs | README | LICENSE

commit 3c26aae11e1f8e8afc788eb8694cac152db7f4fc
parent a63fdbc28b31e425019db3125764481942fa734e
Author: Toby Goodwin <toby@paccrat.org>
Date:   Sat, 16 May 2015 11:31:54 +0100

remove some old / odd files

Diffstat:
DFutures | 12------------
Dcpp | 38--------------------------------------
Drandom.pl | 15---------------
Dslow | 11-----------
4 files changed, 0 insertions(+), 76 deletions(-)

diff --git a/Futures b/Futures @@ -1,12 +0,0 @@ -I18N. - -Offer more control over what rc prints about commands (e.g. a way to -allow EPIPE to generate an error). - -Faster; smaller; cheaper. - -Dynamically load readline and friends. - -Make --disable-def-interp the default. - -Allow builtin wait more than one argument. diff --git a/cpp b/cpp @@ -1,38 +0,0 @@ -#!/bin/sh - -# @(#) cpp.sh 1.3 92/01/15 21:53:22 - -# Unprototypeing preprocessor for pre-ANSI C compilers. On some systems, -# this script can be as simple as: -# -# /lib/cpp "$@" | unproto -# -# However, some cc(1) drivers specify output file names on the -# preprocessor command line, so this shell script must be prepared to -# intercept them. Depending on the driver program, the cpp options may -# even go before or after the file name argument(s). The script below -# tries to tackle all these cases. -# -# You may want to add -Ipath_to_stdarg.h_file, -Dvoid=, -Dvolatile=, -# and even -D__STDC__. - -## (This is what I used while testing with the SunOS C compiler. -## Also, I added "-Qpath ." to CFLAGS so that cpp would be -## run out of the current directory. --- Byron) -cpp_args="-I/u/byron/lib/sun4 -Dconst= -Dvolatile=" - -while : -do - case $1 in - "") break;; - -*) cpp_args="$cpp_args $1";; - *) cpp_args="$cpp_args $1" - case $2 in - ""|-*) ;; - *) exec 1> $2 || exit 1; shift;; - esac;; - esac - shift -done - -/lib/cpp $cpp_args | unproto diff --git a/random.pl b/random.pl @@ -1,15 +0,0 @@ -#! /usr/bin/perl - -$count = 10; -$size = rand(1000); - -for ($i = 0; $i < $count; ++$i) { - open OUT, "> t$i" or die; - for ($j = 0; $j < $size; ++$j) { - printf OUT "%c", rand(256); - } - close OUT; - $cmd = "./rc t$i"; - print $cmd, "\n"; - system $cmd; -} diff --git a/slow b/slow @@ -1,11 +0,0 @@ -for (i in 0 1 2 3 4 5 6 7 8 9) { - x=() - y=() - for (j in 0 1 2 3 4 5 6 7 8 9) - for (k in 0 1 2 3 4 5 6 7 8 9) - for (l in 0 1 2 3 4 5 6 7 8 9) { - x = $x^. - y = ($y $x) - } - echo $#y -}