On Sun, Aug 26, 2012 at 12:38 AM, K Stahl wrote:
Missed that section, was reading from my phone. Anyway, how about
instead of chastising someone for trying to help, you come up with an
alternative solution?
Stating that you missed something in a post isn't really chastising as
much as it is
On 27/08/2012 7:29 AM, Earnie Boyd wrote:
On Sun, Aug 26, 2012 at 12:38 AM, K Stahl wrote:
Missed that section, was reading from my phone. Anyway, how about
instead of chastising someone for trying to help, you come up with an
alternative solution?
Stating that you missed something in a post
On 8/27/2012 8:01 PM, Ryan Johnson wrote:
On 27/08/2012 7:29 AM, Earnie Boyd wrote:
On Sun, Aug 26, 2012 at 12:38 AM, K Stahl wrote:
[snip snip snip]
[snip snip snip]
[snip snip snip]
Back on topic, I can't repro using text or binary (executable)
files, which makes me wonder whether the
On 8/25/2012 12:11 AM, Peter wrote:
cat $LOG | gzip $LOG.old.gz
Generally speaking, cat with a single file is a sign you're not using
redirection to its fullest. In this case, you get the same effect with
much less overhead with:
gzip $LOG $LOG.old.gz
The resulting archive was
To trim a log file on my windows box I tried the lines below in a bash
script. (my bash is 4.1.10(4))
cat $LOG | gzip $LOG.old.gz
$LOG
The resulting archive was corrupt.
Directly compressing like gzip $LOG works OK but is not suitable in my
case as the logging service constantly writes to
cat $LOG | gzip $LOG.old.gz $LOG
Don't have access to my machine at the moment, but try adding the '-c'
options to gzip (e.g. gzip -c ...)
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
On 25/08/2012 11:45 AM, K Stahl wrote:
cat $LOG | gzip $LOG.old.gz $LOG
Don't have access to my machine at the moment, but try adding the '-c'
options to gzip (e.g. gzip -c ...)
He said he tried that and it didn't work...
Ryan
--
Problem reports: http://cygwin.com/problems.html
FAQ:
Missed that section, was reading from my phone. Anyway, how about
instead of chastising someone for trying to help, you come up with an
alternative solution?
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation:
8 matches
Mail list logo