This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#Convierte a minúsculas todos los parámetros que recibe | |
echo $@ | awk '{print tolower($0)}' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#Convierte a mayúsculas todos los parámetros que recibe | |
echo $@ | awk '{print toupper($0)}' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
##This can be on /bin/ or /usr/bin or any site of your $PATH | |
####Based on https://gist.github.com/guerrerocarlos/3977495 | |
if [[ ! -n "$1" ]];then | |
echo "Archivo no ingresado" | |
exit | |
fi |
NewerOlder