10
votes
2answers
243 views

How to document my custom bash functions and aliases?

Problem: I have multiple bash functions and aliases. I can't remember all of them off the top of my head, so I usually end up opening my .bash_functions and .bash_aliases files to find what I need. ...
2
votes
2answers
395 views

Where can I find some good documentation for bash printf?

man printf, info printf and printf --help are all pretty useless to me; I want an explanation of the FORMAT options. For example, I could use: printf '%s\n' foo bar and get output: foo bar From ...
2
votes
3answers
53 views

How to match name exactly with Bash's `help` builtin?

It seems the Bash built-in help command help does some really strange globbing: help read shows the documentation for read, readarray and readonly. help rea? shows only the documentation for read. ...
0
votes
1answer
121 views

Where can I find historical documentation for bash?

Are there any sources for documentation for old versions of some GNU software, in this case particularly bash? I have a embedded system that is running bash 3.00.16, and I'm trying to do some shell ...
4
votes
2answers
826 views

What is the “caller” command?

I'm running Ubuntu 10.10 with openbox running on top. I noticed today a command called caller, however there is no man page, it does not respond to any input (or --help) and whereis doesn't find it. ...
1
vote
1answer
407 views

Is there some kind of “patterns” when coding bash scripts? [closed]

In Java, we have Javadoc and some different styles when programming. In Python, there's pep8. I'm creating some bash scripts for my own use, and would like to know from you, experienced bash users, ...