ChinaUnix.net
相关文章推荐:

set 汇编

set -- 特性怎么用?

by tanjiyong138 - Solaris - 2011-10-18 03:49:30 阅读(1982) 回复(4)

相关讨论

.set sets (and clears) various flags that affect generated code. The following table may not be a complete list. Flag noreorder Turns off reordering of instructions. When on, t.i. when the assembler is reordering, it will put the last instruction before j or jr after the jump so it'll be in the branch delay slot. When off, you'll have to do it yourself. mips3 Tells the assembler t...

by ramen.sh - Linux文档专区 - 2008-07-02 17:50:47 阅读(554) 回复(0)

set - 和 set -- 有什么区别? 我在脚本中都看到。

by WinnerBoy - Shell - 2008-03-05 16:56:10 阅读(1729) 回复(1)

#!/bin/sh echo the date is $(date) set $(date) echo the month is $2 exit 0 ---------------------------------------------------------- 问题: 1 $()是什么符号,如何用,试举例; 2 set命令也不是很清楚,希望能举简单的例子说明。 谢谢啦~

by 青乡之b - Shell - 2011-06-14 10:19:34 阅读(1880) 回复(2)

我知道set -A num 1 2 3可以作为循环使用 某个ini文件内容: set -A num 1 2 3 脚本aaa内容: . ini sh bbb 脚本bbb内容: for i in ${num[@]} do echo $i done 运行aaa后发觉没有效果,是num这个变量只传到了aaa,并没有类似于export一样传到了bbb,不知道set -A加上什么参数可以把参数传到下一个shell里

by luciferneptune - Shell - 2010-04-02 14:42:26 阅读(4070) 回复(9)

有人了解关于关于这个哈希类的中操作思想吗?这是一个用来设计26个英文字母组成单词的概率 [ 本帖最后由 liqingfang 于 2009-3-29 11:42 编辑 ]

by liqingfang - C/C++ - 2009-04-03 09:56:10 阅读(2510) 回复(6)

how to seton or setoff all indicators only by a statement? thanks!

by kessy - AS400 - 2009-02-23 09:28:08 阅读(1485) 回复(1)

赋值用set var = xxx 但是var = xxx 也可以 想问2者什么区别

by wswhp - Shell - 2009-02-07 09:59:02 阅读(1426) 回复(4)

1. 取消/恢复使用通配符 set -f / set +f 如: 在test.sh脚本中 #!/bin/bash SQL="select * from db.t_table limit 10;" SQL_EXEC="mysql -uroot -s" echo $SQL | $SQL_EXEC exit 0 如果$SQL外面不加双引号(取消对元字符*的转义), 那么在执行这个脚本的时候就会失败, 应该bash在做替换的时候会把*替换成当前目录下的所有文件。 解决方法1. 在$SQL的两侧加上双引号 解决方法2. 在echo $SQL | $SQL_EXEC 加上 set -f ...

by binary_XY.Z - Linux文档专区 - 2009-01-21 18:04:44 阅读(737) 回复(0)

请问 set a b c 和 set -- a b c 有什么区别?

by lseeo - Shell - 2008-09-15 14:44:26 阅读(2323) 回复(10)

set set, unset, setenv, unsetenv, export - shell built-in func-tions to determine the characteristics for environmental variables of the current shell and its descendents. ENV env - set environment for command invocation. set : 当前shell的变量,也就是本地变量。 ENV : 环境变量 EXPORT: 在shell中执行程序时,shell会提供一组环境变量。export可新增,修改或删除环境变量,供后续执行的程序使...

by 邮水邮电 - Solaris文档中心 - 2008-07-14 20:18:03 阅读(1448) 回复(0)