[Top][All Lists]

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

Re: [Lynx-dev] Transferring page text from lynx to vim

From: Thorsten Glaser
Subject: Re: [Lynx-dev] Transferring page text from lynx to vim
Date: Mon, 3 Oct 2011 11:04:16 +0000 (UTC)

Bela Lubkin dixit:

>   address@hidden/dev/stdin}    POSIX shell syntax for "This script's 
> arguments,
>                      or if none, /dev/stdin (standard input)"

You want "${@:-/dev/stdin}" with the double quotes and the colon.
(Yes, that’s POSIX.)

FWIW, I'm quite impressed with mksh interactively. I thought it was much
*much* more bare bones. But it turns out it beats the living hell out of
ksh93 in that respect. I'd even consider it for my daily use if I hadn't
wasted half my life on my zsh setup. :-) -- Frank Terbeck in #!/bin/mksh

reply via email to

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