shell/sed进阶/在脚本中使用sed.sh

9 lines
93 B
Bash
Raw Permalink Normal View History

2016-05-23 08:32:00 +08:00
#!/bin/bash
# shell wrapper for sed editor script to reverse lines
sed -n '{
1!G
h
$p
}' $1