V2EX fgrep

Fgrep

释义 Definition

fgrep:Unix/Linux 命令行工具,用于在文本中搜索匹配内容;传统上表示“固定字符串搜索”(把模式当作普通文本,而不是正则表达式)。在很多系统中,fgrep 等价于 grep -F(或被其替代/兼容)。

发音 Pronunciation

/frp/

例句 Examples

I used fgrep to find the exact error message in the log.
我用 fgrep 在日志里查找那条完全一致的错误信息。

To avoid regular-expression surprises, the script uses fgrep to match literal strings across multiple configuration files.
为了避免正则表达式带来的意外,这个脚本用 fgrep 在多个配置文件中匹配字面量字符串。

词源 Etymology

fgrep 来自 grep 系列命令的命名方式:在早期 Unix 里,常见有 grep(正则搜索)、egrep(扩展正则)、fgrep(fixed strings,固定字符串)。其中 f- 通常解释为 fixed(固定的、按字面匹配)。在现代实现中,功能多被统一到 grep 的选项里(如 grep -F)。

相关词 Related Words

文学与作品 Literary Works

  • UNIX Power Tools(Shelley Powers, Jerry Peek, Tim O’Reilly 等):在大量命令行技巧与文本处理示例中提到并使用 fgrep/grep -F
  • The UNIX Programming Environment(Brian W. Kernighan, Rob Pike):介绍 Unix 工具链与文本处理思路时,涉及 grep 家族的用法与场景(含 fgrep 的固定字符串搜索语境)。
  • Unix/Linux 手册页与参考文档(如 man fgrepman grep):把 fgrep 作为命令或兼容入口进行说明(在不少系统中强调其与 grep -F 的等价关系)。
关于     帮助文档     自助推广系统     博客     API     FAQ     Solana     1063 人在线   最高记录 6679       Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 37ms UTC 23:48 PVG 07:48 LAX 16:48 JFK 19:48
Do have faith in what you're doing.
ubao msn snddm index pchome yahoo rakuten mypaper meadowduck bidyahoo youbao zxmzxm asda bnvcg cvbfg dfscv mmhjk xxddc yybgb zznbn ccubao uaitu acv GXCV ET GDG YH FG BCVB FJFH CBRE CBC GDG ET54 WRWR RWER WREW WRWER RWER SDG EW SF DSFSF fbbs ubao fhd dfg ewr dg df ewwr ewwr et ruyut utut dfg fgd gdfgt etg dfgt dfgd ert4 gd fgg wr 235 wer3 we vsdf sdf gdf ert xcv sdf rwer hfd dfg cvb rwf afb dfh jgh bmn lgh rty gfds cxv xcv xcs vdas fdf fgd cv sdf tert sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf shasha9178 shasha9178 shasha9178 shasha9178 shasha9178 liflif2 liflif2 liflif2 liflif2 liflif2 liblib3 liblib3 liblib3 liblib3 liblib3 zhazha444 zhazha444 zhazha444 zhazha444 zhazha444 dende5 dende denden denden2 denden21 fenfen9 fenf619 fen619 fenfe9 fe619 sdf sdf sdf sdf sdf zhazh90 zhazh0 zhaa50 zha90 zh590 zho zhoz zhozh zhozho zhozho2 lislis lls95 lili95 lils5 liss9 sdf0ty987 sdft876 sdft9876 sdf09876 sd0t9876 sdf0ty98 sdf0976 sdf0ty986 sdf0ty96 sdf0t76 sdf0876 df0ty98 sf0t876 sd0ty76 sdy76 sdf76 sdf0t76 sdf0ty9 sdf0ty98 sdf0ty987 sdf0ty98 sdf6676 sdf876 sd876 sd876 sdf6 sdf6 sdf9876 sdf0t sdf06 sdf0ty9776 sdf0ty9776 sdf0ty76 sdf8876 sdf0t sd6 sdf06 s688876 sd688 sdf86