Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Looking for a term

Looking for a term

Scheduled Pinned Locked Moved The Lounge
questionlounge
34 Posts 19 Posters 0 Views 1 Watching
  • 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.
  • S Sascha Lefevre

    In the domain of my current project I'm dealing with exchange formats where records are saved with key-value pairs each in a separate line:

    ### header
    001 value1
    002 value2
    010 value3
    300 value4

    header of next record

    (etc)

    As I'm planning on writing a Tip/Trick on a general purpose reader for that kind of format I'm wondering if there is an existing term for this - something like "line separated values"? thanks, Sascha

    If the brain were so simple we could understand it, we would be so simple we couldn't. — Lyall Watson

    L Offline
    L Offline
    Lost User
    wrote on last edited by
    #25

    Records in a "Fielded" text file: Fielded text - Wikipedia, the free encyclopedia[^] (Your "key-value" pairs could easily evolve into something more comprehensive; then you're stuck with a misleading name).

    S 1 Reply Last reply
    0
    • L Lost User

      Records in a "Fielded" text file: Fielded text - Wikipedia, the free encyclopedia[^] (Your "key-value" pairs could easily evolve into something more comprehensive; then you're stuck with a misleading name).

      S Offline
      S Offline
      Sascha Lefevre
      wrote on last edited by
      #26

      I appreciate your intent, Gerry, but I'm certain that it won't evolve: It's not my own creation, it's a standard originating from the seventies and the basic structure hasn't changed since ;)

      If the brain were so simple we could understand it, we would be so simple we couldn't. — Lyall Watson

      L 1 Reply Last reply
      0
      • S Sascha Lefevre

        In the domain of my current project I'm dealing with exchange formats where records are saved with key-value pairs each in a separate line:

        ### header
        001 value1
        002 value2
        010 value3
        300 value4

        header of next record

        (etc)

        As I'm planning on writing a Tip/Trick on a general purpose reader for that kind of format I'm wondering if there is an existing term for this - something like "line separated values"? thanks, Sascha

        If the brain were so simple we could understand it, we would be so simple we couldn't. — Lyall Watson

        W Offline
        W Offline
        wizardzz
        wrote on last edited by
        #27

        what do mean by exchange formats? fixed format, as in cobol comes to mind, or space delimited, or series data?

        S 1 Reply Last reply
        0
        • W wizardzz

          what do mean by exchange formats? fixed format, as in cobol comes to mind, or space delimited, or series data?

          S Offline
          S Offline
          Sascha Lefevre
          wrote on last edited by
          #28

          It's newline-delimited. I'm just wondering if there's a term for it, like CSV for comma-separated. What is your notion of series data?

          If the brain were so simple we could understand it, we would be so simple we couldn't. — Lyall Watson

          W 1 Reply Last reply
          0
          • S Sascha Lefevre

            It's newline-delimited. I'm just wondering if there's a term for it, like CSV for comma-separated. What is your notion of series data?

            If the brain were so simple we could understand it, we would be so simple we couldn't. — Lyall Watson

            W Offline
            W Offline
            wizardzz
            wrote on last edited by
            #29

            Isn't CSV technically newline-delimited as well as comma separated? I guess series data, I was thinking if it's ordered like time series, but none of the values are datetime. Not sure if that makes sense. Order Number Value 10 11.2 11 16.5 12 18.5

            S 1 Reply Last reply
            0
            • W wizardzz

              Isn't CSV technically newline-delimited as well as comma separated? I guess series data, I was thinking if it's ordered like time series, but none of the values are datetime. Not sure if that makes sense. Order Number Value 10 11.2 11 16.5 12 18.5

              S Offline
              S Offline
              Sascha Lefevre
              wrote on last edited by
              #30

              wizardzz wrote:

              Isn't CSV technically newline-delimited as well as comma separated?

              Sure. Then "my" format would be "empty-line-delimited and newline-separated" :)

              wizardzz wrote:

              I was thinking if it's ordered like time series, but none of the values are datetime.

              No, that's not the right term for it then. I think I'll go with "something key-value something" ;)

              If the brain were so simple we could understand it, we would be so simple we couldn't. — Lyall Watson

              1 Reply Last reply
              0
              • S Sascha Lefevre

                I appreciate your intent, Gerry, but I'm certain that it won't evolve: It's not my own creation, it's a standard originating from the seventies and the basic structure hasn't changed since ;)

                If the brain were so simple we could understand it, we would be so simple we couldn't. — Lyall Watson

                L Offline
                L Offline
                Lost User
                wrote on last edited by
                #31

                I threw "evolution" in as an "extra"; I guess I failed to make my point. "Key Value Pair" sounds like IT-speak or something from a grocery flyer.

                S 1 Reply Last reply
                0
                • L Lost User

                  I threw "evolution" in as an "extra"; I guess I failed to make my point. "Key Value Pair" sounds like IT-speak or something from a grocery flyer.

                  S Offline
                  S Offline
                  Sascha Lefevre
                  wrote on last edited by
                  #32

                  IT-speak is alright because the only reason I'm looking for a term for it is my intention to write an Article/Tip/Trick for it :)

                  If the brain were so simple we could understand it, we would be so simple we couldn't. — Lyall Watson

                  1 Reply Last reply
                  0
                  • M milo xml

                    I'd say yes, column delimited. You have three columns. Number, space or lower case letter, then the data. I'm assuming you have text wrap on in the case of line 750. Just odd that they didn't delimit it better.

                    E Offline
                    E Offline
                    englebart
                    wrote on last edited by
                    #33

                    750 is being wrapped by the browser, there is only one line break.

                    1 Reply Last reply
                    0
                    • S Sascha Lefevre

                      In the domain of my current project I'm dealing with exchange formats where records are saved with key-value pairs each in a separate line:

                      ### header
                      001 value1
                      002 value2
                      010 value3
                      300 value4

                      header of next record

                      (etc)

                      As I'm planning on writing a Tip/Trick on a general purpose reader for that kind of format I'm wondering if there is an existing term for this - something like "line separated values"? thanks, Sascha

                      If the brain were so simple we could understand it, we would be so simple we couldn't. — Lyall Watson

                      P Offline
                      P Offline
                      PSU Steve
                      wrote on last edited by
                      #34

                      I would call it "sectioned data" where each record is a "section" of the file starting with a header and having its values in the remainder of the section. I've had to parse data like this a few times before, some not nearly as straightforward as yours though.

                      1 Reply Last reply
                      0
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • World
                      • Users
                      • Groups