summaryrefslogtreecommitdiffstats
path: root/linux/bin/num
diff options
context:
space:
mode:
authorerik <erik@b9310e46-f624-0410-8ea1-cfbb3a30dc96>2008-07-16 19:25:18 +0000
committererik <erik@b9310e46-f624-0410-8ea1-cfbb3a30dc96>2008-07-16 19:25:18 +0000
commitd441ffb133ad793edfb99f4c462674f3bd556e37 (patch)
tree0437b4ab3d69ca948ce04915d9ec3d0ce73b2204 /linux/bin/num
parentcbdf593a966959dcdb4c20edf8a30ef79c88d9a7 (diff)
schönheitsfehlerchen
git-svn-id: https://svn.neo-layout.org@665 b9310e46-f624-0410-8ea1-cfbb3a30dc96
Diffstat (limited to 'linux/bin/num')
-rwxr-xr-xlinux/bin/num5
1 files changed, 3 insertions, 2 deletions
diff --git a/linux/bin/num b/linux/bin/num
index ac1728a..5fe4188 100755
--- a/linux/bin/num
+++ b/linux/bin/num
@@ -1,13 +1,14 @@
#!/bin/sh
+# Verzeichnis muss eventuell an den Ort der neo20.txt angepasst werden:
NEO_TXT=$HOME/neo/A-REFERENZ-A/neo20.txt
-if [ 0 = $# ];then
+if [ 0 = $# ]; then
grep -m 1 -B 15 "┴─────┘" $NEO_TXT
else
for NUM in $@; do
if [ $(($NUM)) -ge 1 -a $(($NUM)) -le 6 ]; then
- grep -B 11 -m "$NUM" "└───────┴───┴───┘" $NEO_TXT | tail -n 12
+ grep -B 11 -m "$NUM" "└───────┴───┴───┘" $NEO_TXT | tail -n 12
else
echo "Benutzung: `basename $0` [1-6]"
echo " Wenn der Aufruf ohne Zahl erfolgt, werden alle Ebenen ausgegeben."