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
  • What, exactly, do you expect the more command to do when it’s running under cron? And what, exactly, does it do? Commented Sep 1, 2017 at 2:48
  • I need to find "ABC123" string inside orig.txt, and extract the remaining content after it (I don't want the content before "ABC123"). more command does the trick. Commented Sep 1, 2017 at 2:55
  • Would you please provide full path for orig.txt like more +/"ABC123" /path/to/orig.txt > /path/to/result.txt and once escape the plusSlash \+\/ sign there Commented Sep 1, 2017 at 4:16
  • @vd2gl Thanks for reminding me of the (non-standard?) + option to more, but please note that more is still meant as an interactive viewer. Anyhow, did you try with pull paths of the files given? Commented Sep 1, 2017 at 6:05