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

📄 paragraph-space.sh

📁 Shall高级编程
💻 SH
字号:
#!/bin/bash# paragraph-space.sh# Inserts a blank line between paragraphs of a single-spaced text file.# Usage: $0 <FILENAMEMINLEN=45        # May need to change this value.#  Assume lines shorter than $MINLEN characters#+ terminate a paragraph.while read line  # For as many lines as the input file has...do  echo "$line"   # Output the line itself.  len=${#line}  if [ "$len" -lt "$MINLEN" ]    then echo    # Add a blank line after short line.  fi  doneexit 0

⌨️ 快捷键说明

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