admin 管理员组

文章数量: 1086019


2024年1月22日发(作者:gets会把回车存入吗)

for shname in `ls *.sh`;do

name=`echo "$shname" | awk -F. '{print $1}'`

echo $namedone./_01testfor((i=1;i<50;i++));do if(((i%3)==0)); then echo $i fidone./369738min=1max=20while [ $min -le $max ];do echo $min min=`expr $min + 1`done./

17181920函数function name(){    # inside the body $1 is the first argument given to the function

    # $2 the second ...

body}#!/bin/shfunction usage(){ echo "usage()------------start" echo "-----------------------" echo "usage()-------------end"}usage./e()------------start-----------------------usage()-------------endexpr四则计算:a1=10a2=20a3=`expr $a1 + $a2`echo "========================="echo "a3=$a3"echo "========================="a4=`expr 10 + 12`echo "a4=$a4"echo "========================="


本文标签: 存入 回车