Re: cat on win32

2003-02-08 Thread Matthew Smith
You neglected to say where you got this version of "cat". Are you using cygwin? If so, please see http://www.cygwin.com, and re-direct the question to the cygwin mailing list. thanks, -Matt Smith > Hello, > I found doing: > cat -B filename.* > result.bin > will give

Re: cat on win32

2003-02-08 Thread Bob Proulx
Micio2 wrote: > I found doing: > cat -B filename.* > result.bin > will give a file little bigger than sum of bytes of single files. What does the '-B' option do? The GNU version of the command does not have that option. What is the size of the resultant file if the -B

cat on win32

2003-02-08 Thread Micio2
Hello, I found doing: cat -B filename.* > result.bin will give a file little bigger than sum of bytes of single files. If I do, instead: copy /B filename.aa + filename.ab /B + ... + filename.ap /B result2.bin I have a file that is exactly the result file. Maybe something wrong with cat compi

feature request: cat command line option to prefix file name

2003-02-03 Thread Vardhan Varma
cat -n is great can we have a 'cat -f' which will prefix each line wiht the file name cat -f-n will display as file:line: --Regards [EMAIL PROTECTED] ___ Bug-textutils mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/li

Re: cat: invalid option -- h

2003-01-15 Thread J. Grant
has been debated a few times over the last 10 years. One problem is that there are always exceptions. For chown and chgrp, -h means --no-dereference. For df, du, and ls, -h means --human-readable. And there are a few more. Besides, if I were to add -h == --help for cat, what's to stop me f

Re: cat: invalid option -- h

2003-01-15 Thread Jim Meyering
that there are always exceptions. For chown and chgrp, -h means --no-dereference. For df, du, and ls, -h means --human-readable. And there are a few more. Besides, if I were to add -h == --help for cat, what's to stop me from adding for the 80 or so other programs in the coreutils package that

Re: cat: invalid option -- h

2003-01-14 Thread J. Grant
Hi Jim, Thanks for the reply. I think -h is almost exclusivly used for help normally. I noticed that some UNIX machines output cat --help on stderr, I think the current approach of printing on stdout is more useful. Is this a common GNU style to use stdout instead of stderr? Regards JG

Re: cat: invalid option -- h

2003-01-14 Thread Jim Meyering
> Can cat -h be added as an alias of --help please? You can use `--h' as an abbreviation for --help. We try hard to avoid adding short-named options, since they may conflict with options already used in other implementations or in future s

cat: invalid option -- h

2003-01-14 Thread J. Grant
Hi, Can cat -h be added as an alias of --help please? Regards JG $ cat -h cat: invalid option -- h Try `cat --help' for more information. ___ Bug-textutils mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-textutils

Re: simple patch to cat

2002-12-14 Thread Bob Proulx
Hunter Peress <[EMAIL PROTECTED]> [2002-12-13 18:50:15 -0600]: > try tail on multiple files, it will show a divider marking the end of > one file, and the beginning of another. > > cat does not have this behaviour. That is correct. If you were to look at the synopsis li

Re: simple patch to cat

2002-12-14 Thread Matthew Smith
For very good reason. tail is used strictly for viewing files, so it makes sense to have a visual divider. "cat" is short for "concatenate". How about this scenario. You break down a file into several pieces, to fit onto floppies. You copy them back onto a filesystem som

simple patch to cat

2002-12-14 Thread Hunter Peress
try tail on multiple files, it will show a divider marking the end of one file, and the beginning of another. cat does not have this behaviour. ___ Bug-textutils mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-textutils

RE: enhancement request for cat

2002-05-24 Thread Bob Proulx
> Note that discussing tabs chars being a multiple of anything other > than eight enters into the realm of a religous war. I shouldn't stir things up more but if I had remembered this reference I would have posted it at the time. So I will add it to the discussion for the sake of the archives.

Re: Error from cat

2002-05-24 Thread Bob Proulx
> cat: write error: File to large The GNU cat does support large files if it is running on a platform which supports large files. Perhaps your version of cat was compiled without large file support? You did not say which operating system nor which version of cat you were using. You can

Re: enhancement request for cat

2002-05-23 Thread Bob Proulx
> Can you add -tabstop to cat or make it read an environment variable? > I've always used tabstop=4 in vi. There might be others who don't use vi > tabstop=8. Huh, what, huh? The 'cat' command knows nothing about tabs. Or rather nothing beyond the --host-tabs

enhancement request for cat

2002-05-23 Thread Jeff Holt
Can you add –tabstop to cat or make it read an environment variable? I’ve always used tabstop=4 in vi. There might be others who don’t use vi tabstop=8.   Thanks!   Jeff Holt Hotsos Enterprises, Ltd. http://www.hotsos.com 817.821.9553  

Re: cat

2002-05-19 Thread Bob Proulx
gwin FAQ http://cygwin.com/faq/ Cygwin Bug Report Guidelines http://cygwin.com/bugs.html Bob > Sample text file: file.txt > > Hello > there > ------- > > run: > cat file.txt | egrep -e "o$" > you will get nothing > > r

cat

2002-05-13 Thread Carroll, Jim
Sample text file: file.txt Hello there --- run: cat file.txt | egrep -e "o$" you will get nothing run: egrep -e "o$" file.txt' you will get "Hello" run: egrep -e "^" file.txt | egrep -e "o$" yo

Error from cat

2002-05-06 Thread Roland Leisering
ied it in a single CommandLine (like cat a b c > d ) but it does not work and so i had to write the little following script: #!/bin/bash cat sich_dod_ohne_mnt_raid_300402.tar.gz.xaa > sich_dod_ohne_mnt_raid_300402.tar.gz cat sich_dod_ohne_mnt_raid_300402.tar.gz.xab >> sich_dod_ohne_mnt

[PATCH] cat -u clarification

2002-05-02 Thread Roger Luethi
I have seen people complain (based on the man page) that GNU cat doesn't support -u, although POSIX requires it. Yeah, they could have read the source or tested the program. It is true though that the documentation is somewhat ambiguous. The attached patch addresses this tiny problem.

Patch for cat

2002-04-21 Thread M G Berberich
Hello, I appended a patch for cat.c. cat -v prints every character out of 32..127 as ^ or M- notation. This might be sufficient for the english speaking world, but is an anoyance for europeans, because it destroys text strings containing accented charakters, umlauts, etc. I added a new option

Re: Patch for cat

2002-04-21 Thread M G Berberich
opefully) correct patch. (I repeat the explanation:) cat -v prints every character out of 32..127 as ^ or M- notation. This might be sufficient for the english speaking world, but is an anoyance for europeans, because it destroys text strings containing accented charakters, umlauts, etc. I added a ne

Re: Bug with cat?

2001-08-22 Thread Jim Meyering
Bob Havlin <[EMAIL PROTECTED]> wrote: > I have no filesize limits and yet commands like > > dd if=/dev/zero of=tmpfile bs=1024 count=300 > > work fine. > > but the following fails.. > > $ cat /dev/zero > tmpfile > > [1] + Filesize limit exceeded

Bug with cat?

2001-08-08 Thread Bob Havlin
I have no filesize limits and yet commands like dd if=/dev/zero of=tmpfile bs=1024 count=300 work fine. but the following fails.. $ cat /dev/zero > tmpfile [1] + Filesize limit exceeded cat /dev/zero > tmpfile (core dumped) $ ls -l tmpfile -rw-r--r--1 bob

cat 2.0a

2001-07-16 Thread Mueller Marius
Hi There! I'm using RedHat Linux 6.2 and textutils-2.0a-2. I know, that the version of textutils I use is lower than the newest, but I can't upgrade to 2.0e due to libc6 problems of other programs. Perhaps the following error(?) that I found accidentally is already known and fixed..

Re: cat with binary files

2001-03-24 Thread Bob Proulx
> I am using > echo $BASH_VERSION > 2.02.1(2)-release > and > Cygwin B20 > > --> Is there a way to make cat work for binary files ? > > The documentation mentions that binary might not work if the registry has > been fiddled with, but does

cat with binary files

2001-03-02 Thread David Galvin
Hello. I am using echo $BASH_VERSION 2.02.1(2)-release and Cygwin B20 --> Is there a way to make cat work for binary files ? The documentation mentions that binary might not work if the registry has been fiddled with, but does not say what to do. I have not touched

Re: [Bug-textutils] cat/redirect problem: +2Gb file sizes

2000-09-18 Thread Bob Proulx
size, > the following happens: > > cat: write error: File too large > > The same happens if I redirect the output of a program into a file that > ends up larger than 2Gb. Any idea on how to solve this? I find it hard > to believe that this is an error in the filesystem

[Bug-textutils] cat/redirect problem: +2Gb file sizes

2000-09-17 Thread Gudmundur Arni Thorisson
happens: cat: write error: File too large The same happens if I redirect the output of a program into a file that ends up larger than 2Gb. Any idea on how to solve this? I find it hard to believe that this is an error in the filesystem since I could ungzip huge files. OR, did RedHat screw these

Re: bug in cat

2000-08-03 Thread Bob Proulx
Note that I am not the maintainer but another list member. > When using cat on some files, the files put stuff on the commnand line > that gets executed the next time you hit return. > Here is an example with my prompt set to XXX for clarity > I first cat -A the file to show

bug in cat

2000-08-03 Thread Kurt Glaesemann
When using cat on some files, the files put stuff on the commnand line that gets executed the next time you hit return. Here is an example with my prompt set to XXX for clarity I first cat -A the file to show what special characters the file contains. Note that the high bit is set. vi shows

[PATCH] displaying control characters without ambiguity using cat

2000-06-27 Thread Herbert Xu
The following patch adds a new option -r (--reversible) which allows the display of control characters to be done without ambiguity. To illustrate, suppose that we were given the input \011^I cat -A would display ^I^I while with this patch, cat -rA would display ^I\^I -- Debian GNU/Linux

bug in cat?

2000-06-15 Thread Maarten Wijnen
L.S., I've used cat to concatenate about 130 html-files into one big html-file. All the files were of more or less the same size. The resulting file is about 800Kb. I found out that in this process some lines at the end of some files were lost. I tried to reproduce the exact same result