Browse Source

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

Alois Mahdal 8 months ago
parent
commit
61ac9f4993
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      dotfiles/config/bashum/main.bashrc

+ 2
- 0
dotfiles/config/bashum/main.bashrc View File

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