Loading ...
Sorry, an error occurred while loading the content.

22054Joining corresponding lines of two files

Expand Messages
  • bruce.somers@web.de
    Sep 5, 2011
    • 0 Attachment
      I have the need to join corresponding lines from two files, one after the other. I have

      file A         File B
      ------         ------
      lineA1        lineB1
      lineA2        lineB2
      lineA3        lineB3
      ...              ...

      I need to append the lines of file B to the corresponding lines of file A, and to insert the same text at the beginning of each line,
      while also adding spaces [sp] as separators:

      file C
      ------
      text[sp][sp)lineA1[sp][sp)lineB1
      text[sp][sp)lineA2[sp][sp)lineB2
      ...

      I assume that this is a trivial matter for a clip. Could someone sketch the clip for me?

      Many thanks   Bruce
    • Show all 9 messages in this topic