scripts

My personal collection of scripts
git clone git://src.gearsix.net/scripts
Log | Files | Refs | Atom | README | LICENSE

commit 07b4b2ea4fba01ddd852d2c895e76c280b8db5cc
parent c21d3c792ed219fc7596f853f7b971ce11e5674a
Author: gearsix <gearsix@tuta.io>
Date:   Thu, 11 Nov 2021 10:35:12 +0000

added DEPRECIATED notes

Diffstat:
Msrc/depreciated/cpc.sh | 2++
Msrc/depreciated/strlen.sh | 2++
2 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/depreciated/cpc.sh b/src/depreciated/cpc.sh @@ -1,3 +1,5 @@ +# DEPRECIATED: not sure why this existed (could just cp?) + #!/bin/sh # cpc (cp contents) # description: copies the contents of file $1 to file $2 diff --git a/src/depreciated/strlen.sh b/src/depreciated/strlen.sh @@ -1,3 +1,5 @@ +# DEPRECIATED: just use (str="string") "echo ${#str}" or "wc -c $str", etc + #!/bin/sh # strlen (string length) # description: echo's the length of a string ($1)