Convention/standard for naming files, functions and variables

Angel Tsankov fn42551 at
Sat Jan 3 11:31:57 PST 2009

Matthew Burgess wrote:
> On Sat, 3 Jan 2009 19:50:37 +0200, "Angel Tsankov"
> <fn42551 at> wrote:
>> Matthew Burgess wrote:
>>> Naming functions in shell scripts should really follow the standard
>>> programming convention of calling them by the verb(s) that most
>>> accurately
>>> describe what the function does.  e.g. truncate(), replace(),
>>> find().
>> That's reasonable, but if the name contains more than one word do
>> you use lowerCamelCase, underscores, hyphens or smth else to
>> separate the words?
> I happen to use lowerCamelCase.
Do you use lowerCamelCase also to name your files and do you differentiate 
shell scripts, music/video files, books when it comes to file names?

Angel Tsankov 

More information about the lfs-chat mailing list