first

来自「Linux程序设计(原书第2版)配套程序」· 代码 · 共 17 行

TXT
17
字号
#!/bin/sh# first.sh# This file looks through all the files in the current# directory for the string POSIX, and then prints those# files to the standard output.for file in *do  if grep -q POSIX $file   then    more $file   fidoneexit 0

⌨️ 快捷键说明

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