📜  r_dwssap.sh - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:50:36.191000             🧑  作者: Mango

代码示例1
cat -e /etc/passwd | grep -v '^#' | awk 'NR % 2 == 0' | awk -F : '{ print $1 }' | rev | tail -r | awk -v ln1=$FT_LINE1 -v ln2=$FT_LINE2 'NR >= ln1 && NR <= ln2' | awk '{ printf $0", " }' | sed 's/.\{2\}$/./'