Community

    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Displaying only lines that start with or contain -keyword-

    Help wanted · · · – – – · · ·
    2
    2
    1104
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Javier de Molina
      Javier de Molina last edited by Javier de Molina

      I’m doing heavy work on a txt file that stores a lot of data. All elements in the file have the same attributes. For example “Name=(string)”, next line “InternalName=(string)”, then on the next element, Name= and InternalName= appear again with different values. I’d like to only display specific lines, some starting with “Name=”, for example, so I can hide the rest of the file and avoid a ton of scrolling down. Is this possible at all?

      Thanks

      1 Reply Last reply Reply Quote 0
      • chcg
        chcg last edited by chcg

        Seems you could do a search on the whole active file to your pattern and then look just at the search result window. Which has a link back to the origin if you click that line.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright © 2014 NodeBB Forums | Contributors