Chinaunix首页 | 论坛 | 博客
  • 博客访问: 12118
  • 博文数量: 6
  • 博客积分: 389
  • 博客等级: 一等列兵
  • 技术积分: 80
  • 用 户 组: 普通用户
  • 注册时间: 2006-08-22 09:16
文章分类
文章存档

2009年(2)

2008年(3)

2006年(1)

我的朋友
最近访客

分类:

2008-09-04 21:15:42

         -a       Mark variables which are  modified  or  created
                  for export.

         -e       Exit immediately if  a  command  exits  with  a
                  non-zero exit status.

         -f       Disable file name generation.

         -h       Locate and remember function commands as  func-
                  tions  are  defined (function commands are nor-
                  mally located when the function is executed).

         -k       All  keyword  arguments  are  placed   in   the
                  environment  for a command, not just those that
                  precede the command name.

         -n       Read commands but do not execute them.

         -t       Exit after reading and executing one command.

         -u       Treat unset variables as an error when  substi-
                  tuting.
         -v       Print shell input lines as they are read.



         -x       Print commands and their arguments as they  are
                  executed.



         -        Do not change any of the flags; useful in  set-
                  ting $1 to -.
         Using + rather than - causes these flags  to  be  turned
         off. These flags can also be used upon invocation of the
         shell. The current set of flags may be found in $-.  The
         remaining  arguments  are  positional parameters and are
         assigned, in order, to $1, $2, ... If no  arguments  are
         given, the values of all names are printed.
阅读(819) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~