📄 news.sh
字号:
#! /bin/sh# news - add pagination and option -l (list all topics) to "news"# Usage: news [-option] [news_item]# Copyright 1985 by Jack K. CohenPATH=/bin:/usr/binPAGE_PROGRAM=morefor ido case $i in -l) # List all topics option. echo Available news topics are: ls /usr/news exit 0 ;; *) # Accumulate args for the REAL news program args="$args $i" ;; esacdonenews $args | exec PAGE_PROGRAM
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -