A messenger application for Raspberry Pi Zerofor A.U.TH (Real time Embedded systems).
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
 
 

11 行
375 B

  1. #! /bin/bash
  2. for AEM in 7700 8261 8765 8844 8880 8861 8877 8941 8934 8997; do
  3. echo I have send $(grep -e "Out dev=$AEM" output.txt| wc -l) messages to $AEM
  4. echo I have received $(grep -e "In dev=$AEM" output.txt| wc -l) messages from $AEM
  5. # bad!! Pi0
  6. echo I have echo-back $(grep -e "Out dev=$AEM, message: from=$AEM" output.txt| wc -l) messages to $AEM
  7. done