|
|
|
|
|
by xp84
903 days ago
|
|
Shell (and its odd cousin the .BAT file) is interesting because it’s got such wildly different sets of “easy things” and “complex things” compared to almost any language. Write some ASCII to a file - one character in Bash, 2-?? lines of annoying boilerplate in every other language Pick the second item in an array - in Bash, a series of random-looking punctuation I can never recall to even create a true array. In any other language, roughly myArray[1] So I worry that in some cases the student forced to only learn using shell might be bitter once they learned other languages. PS: it’s funny you mentioned loops as a “do without” — I’d say bash is pretty okay with that — as long as you’re looping over a list of files ;) |
|