Mercurial > hg > config
comparison .bashrc @ 560:d15ee034bdf1
.bashrc
| author | Jeff Hammel <jhammel@mozilla.com> |
|---|---|
| date | Thu, 28 Nov 2013 01:36:43 -0800 |
| parents | f98fe4362c84 |
| children | 0d5cf87e5b7e |
comparison
equal
deleted
inserted
replaced
| 559:501169756134 | 560:d15ee034bdf1 |
|---|---|
| 276 mv "$1" "$NEWNAME" | 276 mv "$1" "$NEWNAME" |
| 277 mv "$2" "$1" | 277 mv "$2" "$1" |
| 278 mv "$NEWNAME" "$2" | 278 mv "$NEWNAME" "$2" |
| 279 } | 279 } |
| 280 | 280 |
| 281 verifyfiles() { | |
| 282 # verify each line is an existing file | |
| 283 while read line | |
| 284 do | |
| 285 test -e "${line}" | |
| 286 echo $? $line | |
| 287 done | |
| 288 } | |
| 281 | 289 |
| 282 ### functions for editing | 290 ### functions for editing |
| 283 | 291 |
| 284 edpe() { | 292 edpe() { |
| 285 # edit and pipe the buffer to stdout | 293 # edit and pipe the buffer to stdout |
