Jump to content

Is BASH/Shell or Batch scripting really a programming language?

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
9 replies to this topic

#1
relapse

relapse

    Programming Expert

  • Members
  • PipPipPipPipPipPip
  • 476 posts
Is BASH or Batch scripting really a programming language? They seem like a shell of a language that don't really offer a programmer much of a challenge. haha, batch scripting is just funny as hell and a bit ridiculous. At least BASH or Shell scripting gives the ability to do some complex ****.

Still, are these scripting languages even programming language or should we just refer to them as "scripting"?

#2
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
I believe Bash is turing complete. I don't know if Batch is or not.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#3
relapse

relapse

    Programming Expert

  • Members
  • PipPipPipPipPipPip
  • 476 posts
Wtf is turing complete?

#4
Guest_Jordan_*

Guest_Jordan_*
  • Guests

Quote

Turing completeness
A computational system that can compute every Turing-computable function is called Turing-complete (or Turing-powerful). Alternatively, such a system is one that can simulate a universal Turing machine.

Source: Turing completeness - Wikipedia, the free encyclopedia

#5
relapse

relapse

    Programming Expert

  • Members
  • PipPipPipPipPipPip
  • 476 posts
wtf is a turing machine and why does that matter for a language?

#6
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
If a language is Turing complete, it has all the computational power that can be achieved (ignoring time/memory limits).
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#7
asafe

asafe

    Programmer

  • Members
  • PipPipPipPip
  • 107 posts
Althought the absent of floating point number, if you learn well the language and see things like The GTK-server - Interpreted GUI programming ,there's a lot you can do with Bash.

#8
relapse

relapse

    Programming Expert

  • Members
  • PipPipPipPipPipPip
  • 476 posts
Looks pretty cool. The General Consensus: Bash is a programming language but not batch. Nice.

#9
hetra

hetra

    Programming Professional

  • Members
  • PipPipPipPipPip
  • 298 posts
I started programming doing batch...Small loop files and other calculators...I take it as a language...

title Batch Program
@echo off
echo See? I'm programming...
pause
@echo on
cls
exit


#10
dargueta

dargueta

    Writes binary right handed and hex left handed

  • Moderators
  • 4,722 posts
That's heavily reliant on external programs to do anything, though. Bash is less so.
sudo rm -rf /