⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 fmtdict

📁 ksh 实现的基于hpux下的性能数据以及故障的采集程序。可以作为新手练手使用
💻
字号:
#!/bin/kshcout=1while true;do look $cout | grep -e "不在数据字典中"  > /dev/null 2>&1 if [[ $? = 0 ]] then    break fi look $cout > fmt.tmpex fmt.tmp <<! >/dev/null 2>&1 %s/\#//gg/^[[:space:]]*$/ dx!  head -1 fmt.tmp | read -r local english type prev unit  if [[ $type = "int" ]] then    unit=$prev    prev=  # elif [[ $type = "char" ]] then  # elif [[ $type = "dec" ]] then  fi  comment=  wc -l fmt.tmp  | read -r nubr name  if (( nubr > 1 )) ; then     tail +2 fmt.tmp | tr -d "\n" | read -r comment  fi  echo "$cout,$local,$english,$type,$prev,$unit,$comment,"  (( cout = cout + 1 ))done 

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -