⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 line-number.sh

📁 Shall高级编程
💻 SH
字号:
#!/bin/bash# line-number.sh# This script echoes itself twice to stdout with its lines numbered.# 'nl' sees this as line 4 since it does not number blank lines.# 'cat -n' sees the above line as number 6.nl `basename $0`echo; echo  # Now, let's try it with 'cat -n'cat -n `basename $0`# The difference is that 'cat -n' numbers the blank lines.# Note that 'nl -ba' will also do so.exit 0# -----------------------------------------------------------------

⌨️ 快捷键说明

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