grep . regular expression _ anchors $ and ^ (meta characters)

commandline session

$ 4.2.20 29 530---> grep -h '^sort' worked
$ 4.2.20 30 531---> grep -h 'sort^' worked
$ 4.2.20 31 532---> grep -h 'sort$' 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 32 533---> grep -h '$sort' worked
$ 4.2.20 33 534--->

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