grep . bracket expressions [ ]

commandline session

$ 4.2.20 14 514---> grep '[bg]zip' worked
$ 4.2.20 15 515---> grep '[bg]sort' worked
$ 4.2.20 16 516---> grep '[b ]sort' worked
Bubble sort
Selection sort
Insertion sort
Shell sort
Comb sort
Merge sort
Counting sort
 Bucket sort
 Radix sort
 Distribution sort
$ 4.2.20 17 517---> grep '[b  ]sort' worked
Bubble sort
Selection sort
Insertion sort
Shell sort
Comb sort
Merge sort
Counting sort
 Bucket sort
 Radix sort
 Distribution sort
$ 4.2.20 18 518---> cat worked
Bubble sort
Selection sort
Insertion sort
Shell sort
Comb sort
Merge sort
Heapsort
Quicksort
Counting sort
 Bucket sort
 Radix sort
 Distribution sort
 Timsort
$ 4.2.20 19 519--->

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s