1
0
Fork 0
mirror of https://github.com/hcartiaux/dotfiles.git synced 2024-10-18 09:15:24 +02:00

[bash] bash_aliases: line function, posix compliant & faster

This commit is contained in:
Hyacinthe Cartiaux 2015-07-02 11:59:26 +02:00
parent c08a3c6a48
commit e21dbbdc09

View file

@ -70,7 +70,7 @@ man() {
# print a line as wide as the terminal
line() {
for i in $(seq 1 $COLUMNS); do echo -n =; done
printf %${COLUMNS}s | tr " " "="
}
# make a backup of a file