:: Re: [DNG] Fw: [OCLUG] Some programm…
Góra strony
Delete this message
Reply to this message
Autor: Lars Noodén
Data:  
Dla: dng
Temat: 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