Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #18896

Re: dot files convention

From Lew Pitcher <lew.pitcher@digitalfreehold.ca>
Newsgroups comp.lang.php
Subject Re: dot files convention
Date 2022-04-01 13:37 +0000
Organization A noiseless patient Spider
Message-ID <t26v6g$9bt$1@dont-email.me> (permalink)
References <t26tqp$64q$1@gioia.aioe.org>

Show all headers | View raw


On Fri, 01 Apr 2022 15:14:00 +0200, alex wrote:

> https://www.freecodecamp.org/news/dotfiles-what-is-a-dot-file-and-how-to-create-it-in-mac-and-linux/
> 
> "Many computer software programs store their configuration settings in 
> plain, text-based files or directories.
> 
> Dotfiles are configuration files for various programs, and they help 
> those programs manage their functionality.
> 
> What sets them apart from regular files and directories is their prefix.
> 
> Dotfiles are named that way because each file and directory starts with 
> a dot (.)"
> 
> But then why don't files like composer.json, Dockerfile, 
> phpdoc.dist.xml, phpunit.xml.dist, etc, do not follow this convention?
> Because they don't start with a dot (.composer.json, .Dockerfile, etc)?

What that article neglects to mention (or, at least, neglects to stress)
system-wide configuration files /are not/ stored as dotfiles, or as files
under a dot-directory, but are, instead, stored as regularly-named files
(in regularly-named directories) under a system-owned directory.

The convention is that only /personal, per-user/ configuration files
are stored as dotfiles, or files under a dot-directory in the user's home
directory. 

HTH
-- 
Lew Pitcher
"In Skills, We Trust"

Back to comp.lang.php | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

dot files convention alex <1j9448a02@lnx159sneakemail.com.invalid> - 2022-04-01 15:14 +0200
  Re: dot files convention Lew Pitcher <lew.pitcher@digitalfreehold.ca> - 2022-04-01 13:37 +0000
  Re: dot files convention "J.O. Aho" <user@example.net> - 2022-04-01 16:06 +0200
    Re: dot files convention alex <1j9448a02@lnx159sneakemail.com.invalid> - 2022-04-01 17:19 +0200
      Re: dot files convention Lew Pitcher <lew.pitcher@digitalfreehold.ca> - 2022-04-01 15:36 +0000
      Re: dot files convention "J.O. Aho" <user@example.net> - 2022-04-02 10:41 +0200
        Re: dot files convention alex <1j9448a02@lnx159sneakemail.com.invalid> - 2022-04-02 10:57 +0200
    Re: dot files convention alex <1j9448a02@lnx159sneakemail.com.invalid> - 2022-04-01 18:01 +0200

csiph-web