#!/bin/bash
for i in 1 2 3 4 5
do
        echo "Welcome $i times"
        #python 12localhost.py
        outputString=$(python 12localhost.py)
        echo $outputString
        RET=${outputString:0:4}
        if [ $RET = "True" ]
        then
                echo "TRUEEEEEEEEEEEEEE2"
                break
        else
                echo "FALSEEEEEEEEEEEEEEEE"
        fi
        sleep 10;
done


$strings FILENAME| grep KEY



편집-> 줄단위편집->사전식 오름차순 정렬


stringZ=abcABC123ABCabc

echo ${stringZ:7:3} # 23A

(http://www.dreamy.pe.kr/zbxe/CodeClip/3766012)




git bash 에서

$ git config --global gui.encoding utf-8

git gui 다시 실행


 

$ cat 1.txt
가나다라
a
b

$ find . -name "1.txt"|xargs grep 가
가나다라