Basic Unix Tools like WordCount,Head,Tail,Uniq,Cut,Sort Done and ReduceSpace is Done with Java.
* sgWc.sh filename
* sgHead.sh filename -[Number of lines]
* sgTail.sh filename -[Number of lines]
* sgUniq.sh Filename
* sgCut.sh filename FieldNumber [OPTIONS .. delimeter]
Sorts the lines in a file according to given options: -r for reverse; -n for numeric sort. without options sort default by alphabet.
* sgSort.sh Filename [OPTIONS..]
Reduces more than one occurrences of blank spaces into one. Takes a input file and writes into another file.
* sgReduceSpace.sh InputFile outputFile