:: Re: [DNG] Fw: [OCLUG] Some programm…
トップ ページ
このメッセージを削除
このメッセージに返信
著者: Lars Noodén
日付:  
To: dng
題目: 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