02 Adding Commas to Numbers in Linux BASH

preview_player
Показать описание


This Video Brought to you by:
Rashid - Patreon supporter
Рекомендации по теме
Комментарии
Автор

This is exactly what I was talking about, thanks cant wait to see whats next

DDBAA
Автор

Hi Kris, yet another great video!
Just a note, that will add commas only if you have english OS. for French, it will use spaces as sperators instead of commas.

SO-dlpv
Автор

You can also do this:
ruby -e "puts srand.to_s.reverse.gsub(/\d{1, 3}/).to_a.join(?, ).reverse"


srand will give big random numbers, replace srand with the number you want...

SouravTechLabs
Автор

Do numfmt and printf require something in the environment to be set? Maybe a locale setting or something? Neither of those options are having any effect on a number of my machines.

adamgomes
Автор

Hey kris i just supported you on patreon by subscribing to your 2$ tier.
That's all i can do now..
Have a good day.

By the way i love your tuts

anirudhani
Автор

Use $(shuf) instead of `shuf`. Backticks are deprecated.

devon