Category: tricks
This is a simple batch script that I programmed many years ago. It demonstrates the idea of using shift parameters. The brackets ( and ) enable the expression of …
September 14, 2012
algorithms, batch script, beginner, brute force, github, implementation, programming languages, recursive, tools / utilities, tricks
I have used a lot the Fibonacci numbers as an example to illustrate the programming concepts and ideas. Today, I still use this to revisit the concepts of programming …
A group of commands in windows batch can be enclosed by brackets. The commands are treated as a single one and this is often used together with if, for …
September 14, 2012
batch script, beginner, github, ideas, implementation, linux, non-technical, programming languages, tools / utilities, tricks, windows, windows command shell
I have been practising programming using Windows batch (*.bat | *.cmd) lately and was wondering how many similar Linux-like utilties that can be made simply via windows batch (with …
September 13, 2012
algorithms, batch script, beginner, code, code library, implementation, programming languages, string, tricks, windows, windows command shell
Under Linux, there is a famous quote: “When there is a shell, there is a way.”, meaning that the Linux SHELL script is very powerful and in fact can …