Combine .ts files

thomas fisher studio1 at commspeed.net
Fri Jan 4 04:57:36 UTC 2008


On Thursday 03 January 2008 16:31:27 Kenneth Loafman wrote:
> thomas fisher wrote:
> > On Tuesday 01 January 2008 06:45:03 Padraig wrote:
> >> I'm just wondering how one combines these files into one larger file. 
> >> The command line would be preferable.
> >
> > The "  >> " at the command level will normally append to an output file.
> >
> > example:
> > :~$ cat  >> /home/tom/test
> >
> > This is the first line
> >
> > [1]+  Stopped                 cat >> /home/tom/test
> >
> > :~$ cat  >> /home/tom/test
> >
> > This the second line.
> >
> > [2]+  Stopped                 cat >> /home/tom/test
> >
> > :~$ cat   /home/tom/test
> >
> > This is the first line
> > This the second line.
>
> I did a double-take when I saw your example.  If you issue the script
> above, then do a 'ps', you will see two cat processes suspended.  It
> looks like you're using a ^Z instead of a ^D as EOF.  ^Z suspends the
> current foreground job, i.e. cat, where ^D is End-Of-File.  You've
> confused Windows and Linux.
>
> ...Ken

Thanks Ken
  Good eye and a good reminder why I need lists like this. I live and pretty 
much work and use Linux with no one looking over my shoulder except when 
things just do not function. And as much as I would like to blame it on 
MSDOS, that has been years ago. 
Tom





More information about the ubuntu-users mailing list