Hello.

Abu Unaysah <[email protected]> wrote:
 |Steffen Nurpmeso <[email protected]> wrote:
 |Peace,

And peace upon you.

 |> ..I looked at your website, and that made me realize again how
 |> much i admire Arabic and Chinese/Japanese/ calligraphy!  An act of
 |
 |Seems to be a case of mistaken identity.  That's not my website.
 |My humble beginning of a website is here:
 |
 |   aupc.orgfree.com

Oh.  It would be a pity if the river dies, so much beauty there
lies within.

 |>|There should be an option for the `write' command (w) to overwrite
 |>|the destination file instead of appending.  Either a `writeoverwrites'
 |>|option or another command `Write' (W).
 |> 
 |> That indeed addresses a real shortcoming!
 |> I'd go for `W' ^.^, but we already have `Save' and those three
 |> (sSw) are in the standard...
 |> Hmm.  As a vim(1) user i'm used to ":w!" etc., what do you think
 |> of a "!" command suffix, as in "w!" / "write!" / "save!" etc.,
 |> which has the potential of being applicable to more commands as
 |> time goes by, starting off with `write'?
 |
 |As a vi(1) user, that sounds good to me too!

Fine.  I have to change that somewhat completely for v14.9, it
doesn't make any sense the way it is.  My working thesis is

  Change `write' semantics:
    non-interactive:
        - have a command-line output target
          . Overwrite existing target if there is a "!" command
            suffix, otherwise append.  
          . save all textual/mime-pipe output there, drop other
            attachments
        - output to /dev/null
          . fast exit, fake success ("soft error" once we can have it)
    interactive
        - have target
          . Overwrite existing target if there is a "!" command
            suffix, otherwise append (maybe ask instead)?
          . like non-interactive.  Maybe add option to ask for
            attachments even in this mode, then ask for "shall
            overwrite" of all targets.
        - /dev/null
          . step each message, ask for anything including "shall
            overwrite".
    "shall overwrite" questions default to yes with "!" command suffix,
    to no otherwise.

Thanks again!
And ciao!

--steffen

------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785351&iu=/4140
__________________________________
[email protected]

Reply via email to