Skip to main content

Timeline for Grep to match the pattern exactly

Current License: CC BY-SA 4.0

10 events
when toggle format what by license comment
Feb 4, 2020 at 7:56 vote accept user78873
Feb 2, 2020 at 7:34 history edited Kusalananda CC BY-SA 4.0
added 58 characters in body
Feb 2, 2020 at 7:33 comment added Kusalananda @user78873 Well, what can I say. If I copy and paste your text and run the commands, it works on OpenBSD (with both native and GNU grep), and it also works on CentOS and on Ubuntu.
Feb 2, 2020 at 7:32 comment added user78873 @Kusalananda : no its unix bash script only.
Feb 2, 2020 at 7:32 history edited Kusalananda CC BY-SA 4.0
added 1 character in body
Feb 2, 2020 at 7:31 comment added Kusalananda @user78873 Is your script file a DOS text file? Did you write it on a Windows machine? In that case, convert it to a Unix text file with dos2unix.
Feb 2, 2020 at 7:29 comment added user78873 ya tried it and then only i posted the above comment
Feb 2, 2020 at 7:29 history edited Kusalananda CC BY-SA 4.0
added 558 characters in body
Feb 2, 2020 at 7:25 comment added user78873 no its not working out
Feb 2, 2020 at 7:22 history answered Kusalananda CC BY-SA 4.0