Skip to main content
Commonmark migration
Source Link

From my response to a similar question:

[...] a general-purpose command used by power users and system administrators without any programming involved. Getting it to run (figuring out which switches, making sure permissions are set right, and so on) is completely unrelated to programming.

 

On the other hand, automating the command by including it in a loop, using variables, or capturing the exit code and using it to control flow... those are all on-topic programming tasks. Even if the loop or variable is being typed at the command line, and not inside a batch file. A programming language doesn't magically stop being a programming language because a REPL prompt is used. But choosing command parameters doesn't become programming just because the command string is being passed to a spawn function.

 

The line is where features of the command interpreter are being used. If the same command line could be pasted into the Win+R and/or "Shortcut Properties" dialogs and work correctly without a cmd /c prefix, it's not programming.

 

Then, the tags should reflect the programming language and programming features being used. [...] is not such, and has no place here. It could be removed from all the on-topic questions without hurting anything.

In fact, is a surrender to common usage, shell scripting questions really should be tagged with the name of the shell ("Windows Command Interpreter" is the official name) and not merely "scripting" or "batch". If the command sequence isn't specific to a single shell, it likely isn't programming.

From my response to a similar question:

[...] a general-purpose command used by power users and system administrators without any programming involved. Getting it to run (figuring out which switches, making sure permissions are set right, and so on) is completely unrelated to programming.

 

On the other hand, automating the command by including it in a loop, using variables, or capturing the exit code and using it to control flow... those are all on-topic programming tasks. Even if the loop or variable is being typed at the command line, and not inside a batch file. A programming language doesn't magically stop being a programming language because a REPL prompt is used. But choosing command parameters doesn't become programming just because the command string is being passed to a spawn function.

 

The line is where features of the command interpreter are being used. If the same command line could be pasted into the Win+R and/or "Shortcut Properties" dialogs and work correctly without a cmd /c prefix, it's not programming.

 

Then, the tags should reflect the programming language and programming features being used. [...] is not such, and has no place here. It could be removed from all the on-topic questions without hurting anything.

In fact, is a surrender to common usage, shell scripting questions really should be tagged with the name of the shell ("Windows Command Interpreter" is the official name) and not merely "scripting" or "batch". If the command sequence isn't specific to a single shell, it likely isn't programming.

From my response to a similar question:

[...] a general-purpose command used by power users and system administrators without any programming involved. Getting it to run (figuring out which switches, making sure permissions are set right, and so on) is completely unrelated to programming.

On the other hand, automating the command by including it in a loop, using variables, or capturing the exit code and using it to control flow... those are all on-topic programming tasks. Even if the loop or variable is being typed at the command line, and not inside a batch file. A programming language doesn't magically stop being a programming language because a REPL prompt is used. But choosing command parameters doesn't become programming just because the command string is being passed to a spawn function.

The line is where features of the command interpreter are being used. If the same command line could be pasted into the Win+R and/or "Shortcut Properties" dialogs and work correctly without a cmd /c prefix, it's not programming.

Then, the tags should reflect the programming language and programming features being used. [...] is not such, and has no place here. It could be removed from all the on-topic questions without hurting anything.

In fact, is a surrender to common usage, shell scripting questions really should be tagged with the name of the shell ("Windows Command Interpreter" is the official name) and not merely "scripting" or "batch". If the command sequence isn't specific to a single shell, it likely isn't programming.

replaced http://meta.stackoverflow.com/ with https://meta.stackoverflow.com/
Source Link

From my response to a similar questiona similar question:

[...] a general-purpose command used by power users and system administrators without any programming involved. Getting it to run (figuring out which switches, making sure permissions are set right, and so on) is completely unrelated to programming.

On the other hand, automating the command by including it in a loop, using variables, or capturing the exit code and using it to control flow... those are all on-topic programming tasks. Even if the loop or variable is being typed at the command line, and not inside a batch file. A programming language doesn't magically stop being a programming language because a REPL prompt is used. But choosing command parameters doesn't become programming just because the command string is being passed to a spawn function.

The line is where features of the command interpreter are being used. If the same command line could be pasted into the Win+R and/or "Shortcut Properties" dialogs and work correctly without a cmd /c prefix, it's not programming.

Then, the tags should reflect the programming language and programming features being used. [...] is not such, and has no place here. It could be removed from all the on-topic questions without hurting anything.

In fact, is a surrender to common usage, shell scripting questions really should be tagged with the name of the shell ("Windows Command Interpreter" is the official name) and not merely "scripting" or "batch". If the command sequence isn't specific to a single shell, it likely isn't programming.

From my response to a similar question:

[...] a general-purpose command used by power users and system administrators without any programming involved. Getting it to run (figuring out which switches, making sure permissions are set right, and so on) is completely unrelated to programming.

On the other hand, automating the command by including it in a loop, using variables, or capturing the exit code and using it to control flow... those are all on-topic programming tasks. Even if the loop or variable is being typed at the command line, and not inside a batch file. A programming language doesn't magically stop being a programming language because a REPL prompt is used. But choosing command parameters doesn't become programming just because the command string is being passed to a spawn function.

The line is where features of the command interpreter are being used. If the same command line could be pasted into the Win+R and/or "Shortcut Properties" dialogs and work correctly without a cmd /c prefix, it's not programming.

Then, the tags should reflect the programming language and programming features being used. [...] is not such, and has no place here. It could be removed from all the on-topic questions without hurting anything.

In fact, is a surrender to common usage, shell scripting questions really should be tagged with the name of the shell ("Windows Command Interpreter" is the official name) and not merely "scripting" or "batch". If the command sequence isn't specific to a single shell, it likely isn't programming.

From my response to a similar question:

[...] a general-purpose command used by power users and system administrators without any programming involved. Getting it to run (figuring out which switches, making sure permissions are set right, and so on) is completely unrelated to programming.

On the other hand, automating the command by including it in a loop, using variables, or capturing the exit code and using it to control flow... those are all on-topic programming tasks. Even if the loop or variable is being typed at the command line, and not inside a batch file. A programming language doesn't magically stop being a programming language because a REPL prompt is used. But choosing command parameters doesn't become programming just because the command string is being passed to a spawn function.

The line is where features of the command interpreter are being used. If the same command line could be pasted into the Win+R and/or "Shortcut Properties" dialogs and work correctly without a cmd /c prefix, it's not programming.

Then, the tags should reflect the programming language and programming features being used. [...] is not such, and has no place here. It could be removed from all the on-topic questions without hurting anything.

In fact, is a surrender to common usage, shell scripting questions really should be tagged with the name of the shell ("Windows Command Interpreter" is the official name) and not merely "scripting" or "batch". If the command sequence isn't specific to a single shell, it likely isn't programming.

Source Link
Ben Voigt
  • 283.2k
  • 10
  • 110
  • 146

From my response to a similar question:

[...] a general-purpose command used by power users and system administrators without any programming involved. Getting it to run (figuring out which switches, making sure permissions are set right, and so on) is completely unrelated to programming.

On the other hand, automating the command by including it in a loop, using variables, or capturing the exit code and using it to control flow... those are all on-topic programming tasks. Even if the loop or variable is being typed at the command line, and not inside a batch file. A programming language doesn't magically stop being a programming language because a REPL prompt is used. But choosing command parameters doesn't become programming just because the command string is being passed to a spawn function.

The line is where features of the command interpreter are being used. If the same command line could be pasted into the Win+R and/or "Shortcut Properties" dialogs and work correctly without a cmd /c prefix, it's not programming.

Then, the tags should reflect the programming language and programming features being used. [...] is not such, and has no place here. It could be removed from all the on-topic questions without hurting anything.

In fact, is a surrender to common usage, shell scripting questions really should be tagged with the name of the shell ("Windows Command Interpreter" is the official name) and not merely "scripting" or "batch". If the command sequence isn't specific to a single shell, it likely isn't programming.