:: Re: [DNG] Fw: [OCLUG] Some programm…
Top Pagina
Delete this message
Reply to this message
Auteur: Lars Noodén
Datum:  
Aan: dng
Onderwerp: 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