Tag/
共17个网摘 [
1 ] |
AppZ收录,使用标签:bash, substring, function, collect, learn,时间:2008-9-18 16:10:33 | 相关网摘,我也收藏
A snippet from the man page for bash:
${parameter:offset:length}
Substring Expansion. Expands to up to length char-
acters of parameter, starting at offset. If length
is omitted, expands to the substring of parameter,
starting at the character specified by offset.
length and offset are arithmetic expressions (see
ARITHMETIC EVALUATION below). length must evaluate
to a number greater than or equal to zero. If off-
set evaluates to a number less than zero, the value
is used as an offset from the end of the value of
parameter. If parameter is @, the result is length
positional parameters beginning at offset. If
parameter is an array name indexed by @ or *, the
result is the length members of the array beginning
with ${parameter[offset]}. Substring indexing is
zero-based unless the positional parameters are
used, in which case the indexing starts at 1.
http://www.cygwin.com/ml/cygwin/1999-07/msg00269.html
qiancheng_收录,使用标签:return-statement, with, no, value, in, function, declared, with, a, non-void, return, type,时间:2008-5-8 14:31:49 | 相关网摘,我也收藏
C语言编译时的警告!!和错误
http://hi.baidu.com/ta22/blog/item/23ba7cee9ec324f8b2fb95bb.html
saucer收录,使用标签:Game, Function,时间:2007-10-23 3:05:19 | 相关网摘,我也收藏
How can we use game mechanics to create compelling services and applications, even if those are not games.
How can games shape behaviour? By leveraging our basic, primal response patterns. Schedules of reinforcement (giving rewards within a certain schedule)
How to make interactive experience more addictive? By finding inspiration in 5 game mechanics.
http://www.we-make-money-not-art.com/archives/008152.php
共17个网摘 [
1 ]