Paste Code
Paste Blends
Paste Images
#!/bin/bash

args="$#"
regexp="c\>"

if [ $args = 1 ]; then
if [[ $1 =~ $regexp ]]; then
echo "Resultado: $1"
fi
fi
  1. #!/bin/bash
  2.  
  3. args="$#"
  4. regexp="c\>"
  5.  
  6. if [ $args = 1 ]; then
  7.          if [[ $1 =~ $regexp ]]; then
  8.                   echo "Resultado: $1"
  9.          fi
  10. fi
  11.  
go to heaven