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
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
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
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
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
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
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
> 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
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
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
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
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
> 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.
> 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
> 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
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
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
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
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
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.
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
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
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
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
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..
> 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
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
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
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
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
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
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
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
33 matches
Mail list logo