文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
php爱好者> php文档>shift

shift

时间:2006-06-21  来源:huanghaojie

 1 #!/bin/bash
2 # Using 'shift' to step through all the positional parameters.
3
4 # Name this script something like shft,
5 #+ and invoke it with some parameters, for example
6 # ./shft a b c def 23 skidoo
7
8 until [ -z "$1" ] # Until all parameters used up...
9 do
10 echo -n "$1 " # Don't output trailing newline
11 shift
12 done
13
14 echo # Extra line feed.
15
16 exit 0
#. ./shift a b c def 23 skidoo
相关阅读 更多 +
排行榜 更多 +
辰域智控app

辰域智控app

系统工具 下载
网医联盟app

网医联盟app

运动健身 下载
汇丰汇选App

汇丰汇选App

金融理财 下载