Changing man page format

2010-02-11 Thread Chris F.A. Johnson
Is it possible to change the formatting of man pages so that they are not justified and have no hyphenation? If so, which files have to be modified, and what would need to be changed? -- Chris F.A. Johnson, <http://cfajohnson.com> Author: Pr

Re: [dirname] fix documentation when using on a full directory path

2010-02-12 Thread Chris F.A. Johnson
be removed. 8. If the remaining string is empty, string shall be set to a single character. -- Chris F.A. Johnson <http://cfajohnson.com> === Author: Shell Scripting Recipes: A

Re: expr say "non integer argument"

2010-02-18 Thread Chris F.A. Johnson
b. To do calculations with decimal fractions, I recommend awk. -- Chris F.A. Johnson <http://cfajohnson.com> === Author: Shell Scripting Recipes: A Problem-Solution Approach (2005, Apress

Re: expr say "non integer argument"

2010-02-18 Thread Chris F.A. Johnson
quot; > >> $ expr 3.1 + 3b > >> expr: non-numeric argument > > CFAJ>The expr command's arithmetic only works with integers. > Yes > CFAJ>3.1 is not an integer, nor is 3b. > Yes > CFAJ>To do calculations with decimal fractions, I re

Re: expr say "non integer argument"

2010-02-18 Thread Chris F.A. Johnson
On Thu, 18 Feb 2010, Eric Blake wrote: > According to Chris F.A. Johnson on 2/18/2010 6:20 AM: > > On Thu, 18 Feb 2010, jida...@jidanni.org wrote: > > > >> $ expr 3.1 + 3 > >> expr: non-numeric argument <---say "non integer argument" > &

Re: A feature request

2010-03-23 Thread Chris F.A. Johnson
ry: md() { case $1 in -c) mkdir -p "$2" && cd "$2" ;; *) mkdir -p "$@" ;; esac } Giving the -c option changes to the new directory if it was created successfully. -- Chris F.A. Johnson, <http://cfajohnson.com> Author: Pro

bug#14613: Date -- incorrect invalid date

2013-06-13 Thread Chris F.A. Johnson
$ date -d '2 June, 2013' date: invalid date `2 June, 2013' This should be accepted, just as 'June 2, 2013' is. -- Chris F.A. Johnson, <http://cfajohnson.com/> Author: Pro Bash Programming: Scripting the GNU/Linux Shell (2009, Apress) Shell Script