S
S
Sergey2018-03-05 00:00:25
bash
Sergey, 2018-03-05 00:00:25

Stylelintrc, jshintrc: what does rc mean at the end?

In the repositories on github, you can often see the stylelintrc, jshintrc, bowerrc and other configuration files. How are the letters rc at the end of these words deciphered? I suspect "c" is configuration. Is it so?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anton Spirin, 2018-03-05
@SergeiB

Configuration files also do more than just modify settings, they often (in the form of an "rc file") run a set of commands upon startup (for example, the "rc file" for a shell might instruct the shell to change directories, run certain programs, delete or create files - many things which do not involve modifying variables in the shell itself and so were not in the shell's dotfiles). This convention is borrowed from "runcom files" on the CTSS operating system.
this functionality can and has been extended for programs written in interpreted languages ​​such that the configuration file is actually another program rewriting or extending or customizing the original program; Emacs is the most prominent such example.
The "rc" naming convention of "rc files"" facility mentioned above and does not stand for " resource configuration ", " runtime configuration ", or " remote control " as is often wrongly guessed.
"rc" files are traditionally files which end in the "(.)rc" suffix and which typically the name of that program is the first part of the rc file's name, with the "(.)rc" suffix being used to indicate the file's purpose, eg " .xinitrc", ".vimrc", ".bashrc", "xsane.rc".

link

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question