Commit graph

5 commits

Author SHA1 Message Date
ZaxonXP
17f15d91ee
Use find instead du for more efficient execution. (#880)
Find is faster and it is only one command. The last `:` is removed by the parameter expansion (works in both Bash and Zsh).
2021-01-13 17:51:40 -05:00
anntnzrb
7c96bd081a
Compatibility for FreeBSD's paste(1) (#853)
* Compatibility for FreeBSD's paste(1)

According to FreeBSD's
[paste(1)](https://www.freebsd.org/cgi/man.cgi?query=paste&sektion=1&manpath=FreeBSD+12.2-RELEASE+and+Ports),
the extra `-` is needed (tested by myself).
This obviously works for Linux as well, tested on Void Linux at least.

> Create a colon-separated list of directories named bin,
> suitable for use in the PATH environment variable:

`find / -name bin -type d | paste -s -d : -`

* Compatibility for FreeBSD's paste(1)

According to FreeBSD's
[paste(1)](https://www.freebsd.org/cgi/man.cgi?query=paste&sektion=1&manpath=FreeBSD+12.2-RELEASE+and+Ports),
the extra `-` is needed (tested by myself).
This obviously works for Linux as well, tested on Void Linux at least.

> Create a colon-separated list of directories named bin,
> suitable for use in the PATH environment variable:

`find / -name bin -type d | paste -s -d : -`
2020-12-01 18:21:03 -05:00
Luke Smith
ae2f08ec69
minor updates 2020-11-19 09:21:04 -05:00
Luke Smith
8983f6aeb4
files moved to new correct names 2020-11-19 08:37:50 -05:00
Luke Smith
cba0fcc03d
old stuff removed
many files renamed, possible breakage
2020-11-16 18:06:41 -05:00