3 ms·
My favorite would be modernCSV since I look at CSVs all day Also I found this cool brew bash function i thought i share this here brewpackages (){ brew list
by mr_o47 3y ago
My favorite would be modernCSV since I look at CSVs all day
Also I found this cool brew bash function i thought i share this here
brewpackages (){
brew list --formula | xargs -n1 -P8 -I {} \
sh -c "brew info {} | egrep '[0-9]* files, ' | sed 's/^.[0-9] files, \(.\)).$/{} \1/'" | \
sort -h -r -k2 - | column -t
}
This allows you to view how much space each package is taking
- euroderf 3y agoit seems to be missing a quote somewhere, it gives the bash continuation prompt
- mr_o47 3y agobrewpackages (){ brew list --formula | xargs -n1 -P8 -I {} \ sh -c "brew info {} | egrep '[0-9]* files, ' | sed 's/^.[0-9] files, \(.\)).$/{} \1/'" | \ sort -h -r -k2 - | column -t } Maybe try now
- euroderf 3y agoNope, no luck. But strangely, your comment is rendering with a couple of spans of italics. Here is a paste, with "i" tags and "<\n>" marking the odd rendering I see: brewpackages (){ brew list --formula | xargs -n1 -P8 -I {} \ sh -c "brew info {} | egrep '[0-9]* files, ' | sed 's/^.<i>[0-9]</i> files, \<\n>(.\<i>))</i>.$/{} \1/'" | \ sort -h -r -k2 - | column -t } is HN consuming your markup unexpectedly ?