[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Nmh-workers] Multi-homed postproc, v2

From: Ralph Corderoy
Subject: Re: [Nmh-workers] Multi-homed postproc, v2
Date: Thu, 12 Mar 2015 23:05:05 +0000

Hi Bob,

> with:  for some reason, bash seems to only save C-1
> characters of output, where C is the number of columns in the
> xterm in which I'm running the script.

No, I don't think bash does that.  Try

    s=`bash -c 'printf %0314d\\n 42'`
    echo $s

on a terminal that's less than 314 columns wide.  You should find bash
"saves" all the 00000s ending with 42.

More likely, the command you're trying to capture the output of, post?,
is altering what it outputs to the terminal width, as if with cut(1).

An exact example of what you're attempting would help.

Cheers, Ralph.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]