reorganise more old stuff
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
This commit is contained in:
parent
bd2765c540
commit
c23bfc5a82
54 changed files with 3 additions and 562 deletions
20
old/teecho
Executable file
20
old/teecho
Executable file
|
|
@ -0,0 +1,20 @@
|
|||
#!/bin/sh
|
||||
exec 3>/dev/tty
|
||||
echo2()
|
||||
{
|
||||
echo "$@" 1>&2
|
||||
}
|
||||
echo3()
|
||||
{
|
||||
echo "$@" 1>&3
|
||||
}
|
||||
echo1()
|
||||
{
|
||||
echo "$@" 1>&1
|
||||
}
|
||||
echo2 a b c 2>&1 >/dev/null
|
||||
echo2 d e f >/dev/null 2>&1
|
||||
echo2 g h i | tr '[a-z]' '[A-Z]'
|
||||
( echo2 j k l; echo x y z ) | tr '[a-z]' '[A-Z]'
|
||||
( echo1 a1 ;echo2 b2; echo3 c3 ) >/dev/null
|
||||
( echo1 d1 ;echo2 e2; echo3 f3 ) | tr '[a-z]' '[A-Z]'
|
||||
Loading…
Add table
Add a link
Reference in a new issue