git://git.jankratochvil.net
/
nethome.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rpmsafereduce: +comment: +- $
[nethome.git]
/
bin
/
n
diff --git
a/bin/n
b/bin/n
index
6433d68
..
efefd5c
100755
(executable)
--- a/
bin/n
+++ b/
bin/n
@@
-4,9
+4,9
@@
if which ionice &>/dev/null;then
else
IONICE=""
fi
else
IONICE=""
fi
-if [ "$
1" = --n-class
];then
- CGPARAM="$
2
"
- shift
2
+if [ "$
{1#--}" != "$1"
];then
+ CGPARAM="$
{1#--}
"
+ shift
else
CGPARAM="n"
fi
else
CGPARAM="n"
fi