�V�F���ŕ�����̃}�b�`���O

�V�F���ŕ�����̃}�b�`���O����ɂ́A�V�F���̍\�������ł͂ł��Ȃ��̂� ���̂悤�� test �����܂��g���܂��B

$ if [ ! -z `echo $������ | grep "�p�^�[��"` ]; then

"-z" �́A������̒����� 0 �Ȃ�^�ɂȂ�I�v�V�����ł��B �o�b�N�N�H�[�e�[�V�������� echo ���������� �p�^�[���Ƀ}�b�`����� ���̕������Ԃ��̂� ������r�ɗ��p���Ă��܂��B

$ FILE=test_file_0209.csv

$ if [ ! -z `echo $FILE | grep "^test_file_....\.csv$"` ]; then
>      echo "match"
> else
>     echo "no match"
> fi

match

�Ƃ����������ɂȂ�܂��B

perl �̐��K�\�����g�������ꍇ�� "-P" �I�v�V������t���܂��B

$ if [ ! -z `echo $������ | grep -P "�p�^�[��"` ]; then

Google �T�C�g������

Amazon�A�\�V�G�C�g