代码搜索:awk
找到约 3,459 项符合「awk」的源代码
代码结果 3,459
www.eeworm.com/read/322856/13363674
sh iptables_removeall.sh
#! /bin/sh
# $Id: iptables_removeall.sh,v 1.3 2006/11/23 12:32:57 nanard Exp $
IPTABLES=iptables
#change this parameters :
EXTIF=eth0
EXTIP="`LC_ALL=C /sbin/ifconfig $EXTIF | grep 'inet addr' | awk '
www.eeworm.com/read/313027/13598216
load
#!/bin/sh
module="scull"
device="scull"
mode="777"
# 加载模块
/sbin/insmod ./$module.o $* || exit 1
#查询设备号
major=`cat /proc/devices | awk "\\$2==\"$module\" {print \\$1}"`
# 创建设备节点
rm -f /dev/${device}
www.eeworm.com/read/142331/5765626
c gen_db_server.c
/* Do not edit: automatically built by gen_rpc.awk. */
#include "db_config.h"
#ifndef NO_SYSTEM_INCLUDES
#include
#include
#include
#include
#endif
www.eeworm.com/read/129924/5965887
gen_client_ret
/* Do not edit: automatically built by gen_rpc.awk. */
#include "db_config.h"
#ifdef HAVE_RPC
#ifndef NO_SYSTEM_INCLUDES
#include
#include
#include
#include
www.eeworm.com/read/120487/6073407
perquery
#!/bin/sh
egrep 'x = "|elapse' > /tmp/foo$$
awk 'BEGIN { x = 0; y = 0; z = 0; a = 0; } \
/.*elapse.*/ {x = $2 + x; y = $4 + y; z = $6 + z;} \
/.*x = ".*/ { \
printf "query %2d: %7.3f rea
www.eeworm.com/read/119642/6083239
c gen_db_server.c
/* Do not edit: automatically built by gen_rpc.awk. */
#include "db_config.h"
#ifndef NO_SYSTEM_INCLUDES
#include
#include
#include
#include
#endif
www.eeworm.com/read/100285/6271896
perquery
#!/bin/sh
egrep 'x = "|elapse' > /tmp/foo$$
awk 'BEGIN { x = 0; y = 0; z = 0; a = 0; } \
/.*elapse.*/ {x = $2 + x; y = $4 + y; z = $6 + z;} \
/.*x = ".*/ { \
printf "query %2d: %7.3f rea
www.eeworm.com/read/340847/12131142
sh iptables_removeall.sh
#! /bin/sh
# $Id: iptables_removeall.sh,v 1.4 2008/04/25 18:15:09 nanard Exp $
IPTABLES=iptables
#change this parameters :
EXTIF=eth0
EXTIP="`LC_ALL=C /sbin/ifconfig $EXTIF | grep 'inet addr' | awk '
www.eeworm.com/read/338465/12305938
envelope
#!/usr/bin/perl
# print $ENV{"TIME_LOG_FILE"},"\n";
open(D, "awk '{\$3=\$3-800;print \$0}' $ENV{TIME_LOG_FILE} | ./ntpclient -d -r|") || die;
open(GC,"|gnuplot") || die;
$oldfh=select(GC); $|=1; sel
www.eeworm.com/read/247473/4481858
db_server_proc
/* Do not edit: automatically built by gen_rpc.awk. */
#include "db_config.h"
#ifndef NO_SYSTEM_INCLUDES
#include
#include
#include
#endif
#include "db_int.h"