编写脚本文件 (.sh) 时,notepad++ 中的蓝色突出显示是什么意思?

AWE*_*AWE 2 notepad++

编写 Unix 脚本文件 (.sh) 时,Notepad++ 中的蓝色突出显示是什么意思?

例如,在:

for i in {0..16};do (awk '/AvgSeqDepth/ {while (getline > 0) print $3}' `${array[$i]}`) >> bashlines.txt;done
Run Code Online (Sandbox Code Playgroud)

${array[$i]} 在 Notepad++ 中突出显示为蓝色。


截屏:

在此处输入图片说明

igl*_*vzx 7

如果您打开Settings > Style Configurator,您可以检查和自定义语言的样式和语法。关于Bashintruction words或命令默认突出显示为蓝色( #0000FF)。

样式配置器

关键字列表包括:

别名 ar asa awk 横幅 basename bash bc bdiff break bunzip2 bzip2 cal calendar case cat cc cd chmod cksum clear cmp col comm compress continue cp cpio crypt csplit ctags cut date dc dd 声明 deroff dev df diff diff3 dircmp dirname do done du echo ed egrep if else env esac eval ex exec exit expand export expr false fc fgrep fi file find fmt fold for function functions getconf getopt getopts grep gres hash head help history iconv id if in integer jobs join kill local lc let line ln logname look ls m4 mail mailx make man mkdir more mt mv newgrp nl nm nohup ntps od pack paste patch pathchk pax pcat perl pg pr print printf ps pwd read readonly red return rev rm rmdir sed select set sh shift size sleep sort spell split start stop strings strip stty sum suspend sync tail tar tee test then time times touch tr trap true tsorttty 类型排版 ulimit umask unalias unalias uncompress unexpand uniq unpack unset until uudecode uuencode vi vim vpax wait wc wherece which while who wpaste wstart xargs zcat

更新:

您也可以参考parameters这些与前景突出水鸭#008080)和背景AQUA#00FFFF)。

参数