Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

4
  • 3
    Are you sure the command did not work? I checked and the output was szintigraphische! Commented Oct 27, 2013 at 11:55
  • 1
    Ditto coffeMug. I literally cut n' pasted your snippet into a file, then cut and pasted your grep '^s.*e$' and it output 'szintigraphische' as it should. Maybe there is extra whitespace at the end of the line in file? Commented Oct 27, 2013 at 11:58
  • 2
    You can use this '^s.*e\s*$' to skip white spaces if there are any. \s* tells grep to ignore white spaces. Commented Oct 27, 2013 at 12:05
  • Yep, coffeMug, it was indeed whitespace ! Thanks for the help. Commented Oct 27, 2013 at 12:13