浏览代码

Announce sdup (from minions) replacing lrep() and prep()

Alois Mahdal 1年前
父节点
当前提交
61ac9f4993
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2
    0
      dotfiles/config/bashum/main.bashrc

+ 2
- 0
dotfiles/config/bashum/main.bashrc 查看文件

155
     #
155
     #
156
     # Print each line on STDIN $1 times
156
     # Print each line on STDIN $1 times
157
     #
157
     #
158
+    echo >&2 "use sdup -l instead!"
158
     local rep=${1:-1}; shift
159
     local rep=${1:-1}; shift
159
     local line
160
     local line
160
     local n
161
     local n
172
     #
173
     #
173
     # Print STDIN $1 times
174
     # Print STDIN $1 times
174
     #
175
     #
176
+    echo >&2 "use sdup instead!"
175
     local rep=${1:-1}; shift
177
     local rep=${1:-1}; shift
176
     local data
178
     local data
177
     data=$(cat)
179
     data=$(cat)