From 346816b0ed731a81f3c5f9525441821251486d85 Mon Sep 17 00:00:00 2001 From: Matt Livingston Date: Tue, 8 Sep 2020 15:26:52 +1000 Subject: [PATCH] Added install file - deleted extraneous files --- .gitignore | 1 + INSTALL | 25 +++++++++++++++++++++++++ orig.sh | 6 ------ sh | 1 - "sh\r" | 1 - test.sh | 6 ------ testsh | 3 --- 7 files changed, 26 insertions(+), 17 deletions(-) create mode 100644 .gitignore create mode 100644 INSTALL delete mode 100755 orig.sh delete mode 120000 sh delete mode 120000 "sh\r" delete mode 100755 test.sh delete mode 100755 testsh diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..95eed36 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +curlfish diff --git a/INSTALL b/INSTALL new file mode 100644 index 0000000..cd6c29e --- /dev/null +++ b/INSTALL @@ -0,0 +1,25 @@ +************************************ +** TODO ** +************************************ +** Write installation script +** Makefile +** manpage +** Proper INSTALL documentation +************************************ + +1. Compile the file curlfish.c and install the resulting in a directory of your choice (/usr/local/bin is perfectly fine, but it is usually on a separate filesystem and thus unavailable when only / is mounted) + +2. Create symbolic links that point from curlfish to the full pathname of a script interpreter appended with ^M... +e.g. + +$ sudo ln -s /usr/local/bin/curlfish /bin/bash^M + +/bin/ksh^M -> /bin/curlfish +/usr/bin/tcsh -> /bin/curlfish +/usr/local/bin/python^M -> /bin/curlfish + +3. Compile the manpage and install into the appropriate manual section (probably /usr/local/share/man/man1 ) + +4. ??? + +5. Profit! diff --git a/orig.sh b/orig.sh deleted file mode 100755 index c9779de..0000000 --- a/orig.sh +++ /dev/null @@ -1,6 +0,0 @@ -#!/arpa/af/b/blubrick/curlfish/sh - -# Do some stuff - -ls -la - diff --git a/sh b/sh deleted file mode 120000 index db1611f..0000000 --- a/sh +++ /dev/null @@ -1 +0,0 @@ -/bin/sh \ No newline at end of file diff --git "a/sh\r" "b/sh\r" deleted file mode 120000 index 47cb89a..0000000 --- "a/sh\r" +++ /dev/null @@ -1 +0,0 @@ -curlfish \ No newline at end of file diff --git a/test.sh b/test.sh deleted file mode 100755 index bc98f81..0000000 --- a/test.sh +++ /dev/null @@ -1,6 +0,0 @@ -#!/arpa/af/b/blubrick/curlfish/sh - -# Do some stuff - -ls -la - diff --git a/testsh b/testsh deleted file mode 100755 index 5f84971..0000000 --- a/testsh +++ /dev/null @@ -1,3 +0,0 @@ -#!/usr/bin/grsh - -foo