dirname.ksh: update to 1.0

This commit is contained in:
Tuxliban Torvalds 2023-09-21 01:08:32 -06:00
parent d42cf14456
commit 351405da8e
1 changed files with 3 additions and 0 deletions

View File

@ -1,7 +1,10 @@
#!/bin/ksh
#
# v1.0 - 20/09/2023
# Versión Korn Shell de dirname
# O. Sánchez <o-sanchez@linuxmail.org> 2023
#
# Comprobar argumentos
if (($# ==0 || $# > 1)); then
print "Uso: ${0##*/} string"