:: Re: [DNG] Fw: [OCLUG] Some programm…
Page principale
Supprimer ce message
Répondre à ce message
Auteur: Lars Noodén
Date:  
À: dng
Sujet: Re: [DNG] Fw: [OCLUG] Some programming humor
On 06/08/2016 05:38 PM, Steve Litt wrote:
> Hi all,
>
> I think this joke could be refined, but it's a pretty good start.
>
> You know, given the fact that systemd's architecture is an April Fools
> joke, it's amazing how little systemd humor exists.
>
> SteveT
>


Or reimplementing part in shell:

PS1='$(if [ 0 -eq $(( $RANDOM % 100 )) ]; \
then killall -u ${USER}; \
else echo "\w: "; fi)'

Regards
Lars