From 81041ed648c3e4e30f015d7a7d43b4085a4005d4 Mon Sep 17 00:00:00 2001 From: Bo Yao Date: Thu, 8 Apr 2021 21:37:16 -0700 Subject: [PATCH] add -l to bc -l makes bc works with float numbers, which are expected behavior for most users: ``` ~ bc bc 1.07.1 Copyright 1991-1994, 1997, 1998, 2000, 2004, 2006, 2008, 2012-2017 Free Software Foundation, Inc. This is free software with ABSOLUTELY NO WARRANTY. For details type `warranty'. 3/2 1 ~ bc -l bc 1.07.1 Copyright 1991-1994, 1997, 1998, 2000, 2004, 2006, 2008, 2012-2017 Free Software Foundation, Inc. This is free software with ABSOLUTELY NO WARRANTY. For details type `warranty'. 3/2 1.50000000000000000000 ``` --- readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readme.md b/readme.md index 271a778..b467255 100644 --- a/readme.md +++ b/readme.md @@ -301,7 +301,7 @@ $ date -j -v+7d # on MacOS **STOP USING CALCULATOR WIDGET** :-1: ```shell -$ bc +$ bc -l ``` ## force quit a program