#!/bin/bash

# The output from file -b on a file with "/usr/bin/perl -w" as the shebang.
filetype="a /usr/bin/perl -w script text executable"

echo "filetype: $filetype";

case $filetype in
  *"perl*script"*)
    echo "What is in fai-do-script now, doesn't match."
  ;;
  *perl*script*)
    echo "What should be in fai-do-script, does match"
  ;;
  *) echo "No hits" ;;
esac

