This shows you the differences between two versions of the page.
unixmix:capitole:capitol-08 [2014/09/12 11:34] razvan [One Liners] |
unixmix:capitole:capitol-08 [2014/09/12 11:34] (current) razvan [Shell scripts] |
||
---|---|---|---|
Line 97: | Line 97: | ||
#!/bin/bash | #!/bin/bash | ||
- | if [ $# -lt 1 ]; then | + | if test $# -lt 1; then |
echo "Numar insuficient de parametri" | echo "Numar insuficient de parametri" | ||
exit 1 | exit 1 |