- 博客(4)
- 资源 (1)
- 收藏
- 关注
原创 perl example!
example1: read from command line钻石操作符#!/opt/exp/bin/perl -wsub say { print @_,"\n";}my $file =$ARGV[0];open (my $fh, '#@a= read file to array; then while read array one by one
2013-03-20 14:05:31 2077
原创 sctp head file
sctp function Change from redhat 5 and redhat 6 are different .monavista is closer to redhat 6 redhat 6 /* * 5.3.1 SCTP Notification Structure * * The notification structure is defined a
2013-03-18 15:57:03 856
原创 awk example
1 assignment:it different from shell.shell is right a=10c=$aawk is errora=OFC30L40.0echo $a |nawk '{ if (/OFC([0-9]+)L([0-9]+).0/) { b=$a;exit 10;} else { exit 11;} }' 2 awk 'if (
2013-03-06 16:20:33 655
原创 shell/per/tcl/function usage conclude
shell function exitfile {#transfer parameter (attention : it is not in function name ,like exitfile(a); itdidn't permit have"()" inshell function.sometimes it is inawk/nawk/xwakfunction whic
2013-03-05 14:21:17 545
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人