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. file splitting/merging

file splitting/merging

Scheduled Pinned Locked Moved The Lounge
questionlinuxtoolsannouncement
12 Posts 6 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.
  • A Andreas Saurwein

    does anyone actually have a use for this kind of programs? Since most archivers can do it already and also almost any news posters, I wonder what is the use for splitting a file? Merging is useful from time to time for things like logs or other raw, related data. What do you use it for? Maybe I even might post my file-merging-shell-extension in the free tools section if there is demand for it :)

    int x=1, y=5;
    x^=y^=x^=y; // whats the content of x and y now?

    M Offline
    M Offline
    MoZ
    wrote on last edited by
    #3

    FileSplit 2.22 http://www.partridgesoft.com/fsplit.htm[^] Moz Tunis - Tunisia

    A 1 Reply Last reply
    0
    • M MoZ

      FileSplit 2.22 http://www.partridgesoft.com/fsplit.htm[^] Moz Tunis - Tunisia

      A Offline
      A Offline
      Andreas Saurwein
      wrote on last edited by
      #4

      nice, but payware.

      int x=1, y=5;
      x^=y^=x^=y; // whats the content of x and y now?

      M 1 Reply Last reply
      0
      • A Andreas Saurwein

        does anyone actually have a use for this kind of programs? Since most archivers can do it already and also almost any news posters, I wonder what is the use for splitting a file? Merging is useful from time to time for things like logs or other raw, related data. What do you use it for? Maybe I even might post my file-merging-shell-extension in the free tools section if there is demand for it :)

        int x=1, y=5;
        x^=y^=x^=y; // whats the content of x and y now?

        P Offline
        P Offline
        peterchen
        wrote on last edited by
        #5

        One or two times, can#t remember what it was, otherwise it would be just clogging up my context menu I guess. Andreas Saurwein wrote: // whats the content of x and y now? UNDEFINED


        You don't need to sleep to see a nightmare  Anne Clark   [sighist]

        A 1 Reply Last reply
        0
        • P peterchen

          One or two times, can#t remember what it was, otherwise it would be just clogging up my context menu I guess. Andreas Saurwein wrote: // whats the content of x and y now? UNDEFINED


          You don't need to sleep to see a nightmare  Anne Clark   [sighist]

          A Offline
          A Offline
          Andreas Saurwein
          wrote on last edited by
          #6

          peterchen wrote: // whats the content of x and y now? UNDEFINED Is that already the effect of the water? Or just unbelieving in the power of the compiler? :rolleyes:

          P 1 Reply Last reply
          0
          • A Andreas Saurwein

            nice, but payware.

            int x=1, y=5;
            x^=y^=x^=y; // whats the content of x and y now?

            M Offline
            M Offline
            MoZ
            wrote on last edited by
            #7

            HJ-Split http://www.freebyte.com/hjsplit[^] Moz Tunis - Tunisia

            A 1 Reply Last reply
            0
            • A Andreas Saurwein

              does anyone actually have a use for this kind of programs? Since most archivers can do it already and also almost any news posters, I wonder what is the use for splitting a file? Merging is useful from time to time for things like logs or other raw, related data. What do you use it for? Maybe I even might post my file-merging-shell-extension in the free tools section if there is demand for it :)

              int x=1, y=5;
              x^=y^=x^=y; // whats the content of x and y now?

              B Offline
              B Offline
              Blade DMS
              wrote on last edited by
              #8

              Whats wrong with.... C:\>copy SrcA + SrcB + SrcC + SrcD Dst :) Blade[DMS]

              A 1 Reply Last reply
              0
              • M MoZ

                HJ-Split http://www.freebyte.com/hjsplit[^] Moz Tunis - Tunisia

                A Offline
                A Offline
                Andreas Saurwein
                wrote on last edited by
                #9

                Hahaha, thanks.

                1 Reply Last reply
                0
                • B Blade DMS

                  Whats wrong with.... C:\>copy SrcA + SrcB + SrcC + SrcD Dst :) Blade[DMS]

                  A Offline
                  A Offline
                  Andreas Saurwein
                  wrote on last edited by
                  #10

                  a) it doesnt copy binary files (/B switch missing) b) did you ever try this with 30 or more files? otherwise this method is fine for me too.

                  int x=1, y=5;
                  x^=y^=x^=y; // whats the content of x and y now?

                  1 Reply Last reply
                  0
                  • A Andreas Saurwein

                    peterchen wrote: // whats the content of x and y now? UNDEFINED Is that already the effect of the water? Or just unbelieving in the power of the compiler? :rolleyes:

                    P Offline
                    P Offline
                    peterchen
                    wrote on last edited by
                    #11

                    AFAIR the C++ standard, the side effects are not guaranteed to have settled at the "^=". (Although it works on many compilers)


                    You don't need to sleep to see a nightmare  Anne Clark   [sighist]

                    1 Reply Last reply
                    0
                    • A Andreas Saurwein

                      does anyone actually have a use for this kind of programs? Since most archivers can do it already and also almost any news posters, I wonder what is the use for splitting a file? Merging is useful from time to time for things like logs or other raw, related data. What do you use it for? Maybe I even might post my file-merging-shell-extension in the free tools section if there is demand for it :)

                      int x=1, y=5;
                      x^=y^=x^=y; // whats the content of x and y now?

                      G Offline
                      G Offline
                      Garth J Lancaster
                      wrote on last edited by
                      #12

                      Andreas Saurwein wrote: if there is demand for it There's always demand for well written code illustrating ideas, different ways of achieving things, isnt there ?? isnt that why we are here ?? (other than those who spend all their time flaming and slandering) I myself still need to use 'similar' techniques .. for example, I had to a) scan a 'mainframe' type report (with the print-control characters in column 0), b) find a particular sub-report, send it to seperate file, and then c) rename the original report.. the twist is, that I needed to implement a map of page breaks vs physical file line numbers, because once I identified where the data was, I needed to included the two previous pages (which are hard to identify the contents of in a single scan) .. so although its still a variation on a theme, its roots are often found in simpler things ... (sorry, Ive waffled on here .. but post your technique anyway) 'G'

                      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