Skip to content

Instantly share code, notes, and snippets.

@lv7777
Created October 19, 2016 02:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lv7777/ce3a2f0dbf6165a6077fdf63219b6808 to your computer and use it in GitHub Desktop.
Save lv7777/ce3a2f0dbf6165a6077fdf63219b6808 to your computer and use it in GitHub Desktop.
やっぱりアリスの作るブラウニーはうまいな(伝家の宝刀)
#!bin/sh
oij=("v" "a" "n" "ho" "ten")
#echo $oij
# up is ${oij[0]}
#echo "oij's array length is "${#oij[*]}
function NasiNasiSearch(){
echo "sedの練習をしまつ!w"
lsans=`ls`
for dir in `ls -F | grep /`
do
cd $dir
if ls
then
echo "着信アリ"
else
echo "着信ありまぁす!"
fi
#pwd
cd ../
done
}
function CreateDirs(){
echo "starting CreateDirs function"
for aa in $(seq 10)
do
mkdir $RANDOM
done
ls -la
}
CreateDirs
NasiNasiSearch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment