bug#22001: Is it possible to tab separate concatenated files?

2015-11-27 Thread Erik Auerswald
Hi, On Thu, Nov 26, 2015 at 08:28:13PM -0700, Eric Blake wrote: > On 11/26/2015 04:52 PM, Linda Walsh wrote: > > >> Because every plain > >> text line in a file must be terminated with a newline. > > > >That's only a recent POSIX definition. It's not related to > > real life. When I

bug#22001: Is it possible to tab separate concatenated files?

2015-11-26 Thread Linda Walsh
Bob Proulx wrote: That example shows a completely different problem. It shows that your input plain text files have no terminating newline, making them officially[/sic/] not plain text files but binary files. Because every plain text line in a file must be terminated with a newline.

bug#22001: Is it possible to tab separate concatenated files?

2015-11-26 Thread Eric Blake
On 11/26/2015 04:52 PM, Linda Walsh wrote: >> Because every plain >> text line in a file must be terminated with a newline. > >That's only a recent POSIX definition. It's not related to > real life. When I looked for a text file definition on google, nothing > was mentioned about

bug#22001: Is it possible to tab separate concatenated files?

2015-11-23 Thread Macdonald, Kim - BCCDC
-Original Message- From: Assaf Gordon [mailto:assafgor...@gmail.com] Sent: November 23, 2015 2:03 PM To: Macdonald, Kim - BCCDC; 22...@debbugs.gnu.org Subject: Re: bug#22001: Is it possible to tab separate concatenated files? tag 22001 notabug close 22001 stop Hello Kim, On 11/23/2015 03

bug#22001: Is it possible to tab separate concatenated files?

2015-11-23 Thread Assaf Gordon
Correcting myself: On 11/23/2015 05:02 PM, Assaf Gordon wrote: If you have a file (one file) with spaces and you wish to convert them to tabs, consider the 'expand' command (then pipe to 'cat' if needed). "unexpand" will convert spaces to tabs, "expand" will convert tabs to spaces.

bug#22001: Is it possible to tab separate concatenated files?

2015-11-23 Thread Bob Proulx
Macdonald, Kim - BCCDC wrote: > Sorry for the confusion - I wanted to add a tab (or even a new line) > after each file that was concatenated. Actually a new line may be > better. > > For Example: > Concatenate the files like so: > >gi|452742846|ref|NZ_CAFD01001.1| Salmonella enterica subsp.,

bug#22001: Is it possible to tab separate concatenated files?

2015-11-23 Thread Assaf Gordon
tag 22001 notabug close 22001 stop Hello Kim, On 11/23/2015 03:50 PM, Macdonald, Kim - BCCDC wrote: I’m just looking at the options for the cat command – I see there’s a way to ignore tabs when they exist – but is there a way to tab separate the files you’re concatenating with the cat command?

bug#22001: Is it possible to tab separate concatenated files?

2015-11-23 Thread Assaf Gordon
Hello Kim, On 11/23/2015 06:09 PM, Bob Proulx wrote: Macdonald, Kim - BCCDC wrote: For Example: Concatenate the files like so: gi|452742846|ref|NZ_CAFD01001.1| Salmonella enterica subsp., whole genome shotgun sequenceTTTCAGCATATATATAGGCCATCATACATAGCCATATAT

bug#22001: Is it possible to tab separate concatenated files?

2015-11-23 Thread Macdonald, Kim - BCCDC
Thanks so much!!! I'll try these out now Kim -Original Message- From: Assaf Gordon [mailto:assafgor...@gmail.com] Sent: November 23, 2015 3:48 PM To: Bob Proulx; Macdonald, Kim - BCCDC Cc: 22...@debbugs.gnu.org Subject: Re: bug#22001: Is it possible to tab separate concatenated files

bug#22001: Is it possible to tab separate concatenated files?

2015-11-23 Thread Macdonald, Kim - BCCDC
Hi! I'm just looking at the options for the cat command - I see there's a way to ignore tabs when they exist - but is there a way to tab separate the files you're concatenating with the cat command? Thanks, Kim