Skip to main content
We’ve updated our Terms of Service. A new AI Addendum clarifies how Stack Overflow utilizes AI interactions.
Code Golf

Return to Answer

Commonmark migration
Source Link

#Bash + GNU utilities + figlet , 134

Bash + GNU utilities + figlet , 134

Not sure if figlet is allowed or not, but it does seem to provide the right fonts - big for the digits and small for the : and {a,p}m:

f=figlet\ -f
b()(date +%1ドル|sed 's/./& /g'|$f big)
b -I|paste - <(echo " ";$f small ": ") <(b M) <(echo;date +%P|$f small)|tr \\t \ 

The rest is just getting the right info from date and shuffling the formating around so it looks right:

 ___ _____ ___ 
 / _ \ _ | ____| / _ \ 
| (_) | (_) | |__ | | | | __ _ _ __ 
 > _ < _ |___ \ | | | | / _` | ' \ 
| (_) | (_) ___) | | |_| | \__,_|_|_|_|
 \___/ |____/ \___/ 
 

Figlet may be installed on Ubuntu with sudo apt-get install figlet.

#Bash + GNU utilities + figlet , 134

Not sure if figlet is allowed or not, but it does seem to provide the right fonts - big for the digits and small for the : and {a,p}m:

f=figlet\ -f
b()(date +%1ドル|sed 's/./& /g'|$f big)
b -I|paste - <(echo " ";$f small ": ") <(b M) <(echo;date +%P|$f small)|tr \\t \ 

The rest is just getting the right info from date and shuffling the formating around so it looks right:

 ___ _____ ___ 
 / _ \ _ | ____| / _ \ 
| (_) | (_) | |__ | | | | __ _ _ __ 
 > _ < _ |___ \ | | | | / _` | ' \ 
| (_) | (_) ___) | | |_| | \__,_|_|_|_|
 \___/ |____/ \___/ 
 

Figlet may be installed on Ubuntu with sudo apt-get install figlet.

Bash + GNU utilities + figlet , 134

Not sure if figlet is allowed or not, but it does seem to provide the right fonts - big for the digits and small for the : and {a,p}m:

f=figlet\ -f
b()(date +%1ドル|sed 's/./& /g'|$f big)
b -I|paste - <(echo " ";$f small ": ") <(b M) <(echo;date +%P|$f small)|tr \\t \ 

The rest is just getting the right info from date and shuffling the formating around so it looks right:

 ___ _____ ___ 
 / _ \ _ | ____| / _ \ 
| (_) | (_) | |__ | | | | __ _ _ __ 
 > _ < _ |___ \ | | | | / _` | ' \ 
| (_) | (_) ___) | | |_| | \__,_|_|_|_|
 \___/ |____/ \___/ 
 

Figlet may be installed on Ubuntu with sudo apt-get install figlet.

added 73 characters in body
Source Link
Digital Trauma
  • 73.7k
  • 10
  • 116
  • 268

#Bash + GNU utilities + figlet, 134

Not sure if figlet is allowed or not, but it does seem to provide the right fonts - big for the digits and small for the : and {a,p}m:

f=figlet\ -f
b()(date +%1ドル|sed 's/./& /g'|$f big)
b -I|paste - <(echo " ";$f small ": ") <(b M) <(echo;date +%P|$f small)|tr \\t \ 

The rest is just getting the right info from date and shuffling the formating around so it looks right:

 ___ _____ ___ 
 / _ \ _ | ____| / _ \ 
| (_) | (_) | |__ | | | | __ _ _ __ 
 > _ < _ |___ \ | | | | / _` | ' \ 
| (_) | (_) ___) | | |_| | \__,_|_|_|_|
 \___/ |____/ \___/ 
 

Figlet may be installed on Ubuntu with sudo apt-get install figlet.

#Bash + GNU utilities + figlet, 134

Not sure if figlet is allowed or not, but it does seem to provide the right fonts - big for the digits and small for the : and {a,p}m:

f=figlet\ -f
b()(date +%1ドル|sed 's/./& /g'|$f big)
b -I|paste - <(echo " ";$f small ": ") <(b M) <(echo;date +%P|$f small)|tr \\t \ 

The rest is just getting the right info from date and shuffling the formating around so it looks right:

 ___ _____ ___ 
 / _ \ _ | ____| / _ \ 
| (_) | (_) | |__ | | | | __ _ _ __ 
 > _ < _ |___ \ | | | | / _` | ' \ 
| (_) | (_) ___) | | |_| | \__,_|_|_|_|
 \___/ |____/ \___/ 
 

#Bash + GNU utilities + figlet, 134

Not sure if figlet is allowed or not, but it does seem to provide the right fonts - big for the digits and small for the : and {a,p}m:

f=figlet\ -f
b()(date +%1ドル|sed 's/./& /g'|$f big)
b -I|paste - <(echo " ";$f small ": ") <(b M) <(echo;date +%P|$f small)|tr \\t \ 

The rest is just getting the right info from date and shuffling the formating around so it looks right:

 ___ _____ ___ 
 / _ \ _ | ____| / _ \ 
| (_) | (_) | |__ | | | | __ _ _ __ 
 > _ < _ |___ \ | | | | / _` | ' \ 
| (_) | (_) ___) | | |_| | \__,_|_|_|_|
 \___/ |____/ \___/ 
 

Figlet may be installed on Ubuntu with sudo apt-get install figlet.

Source Link
Digital Trauma
  • 73.7k
  • 10
  • 116
  • 268

#Bash + GNU utilities + figlet, 134

Not sure if figlet is allowed or not, but it does seem to provide the right fonts - big for the digits and small for the : and {a,p}m:

f=figlet\ -f
b()(date +%1ドル|sed 's/./& /g'|$f big)
b -I|paste - <(echo " ";$f small ": ") <(b M) <(echo;date +%P|$f small)|tr \\t \ 

The rest is just getting the right info from date and shuffling the formating around so it looks right:

 ___ _____ ___ 
 / _ \ _ | ____| / _ \ 
| (_) | (_) | |__ | | | | __ _ _ __ 
 > _ < _ |___ \ | | | | / _` | ' \ 
| (_) | (_) ___) | | |_| | \__,_|_|_|_|
 \___/ |____/ \___/ 
 

AltStyle によって変換されたページ (->オリジナル) /