Ken Nakamura said
(on Tue, Feb 24, 2009 at 12:08:37PM -0800):
> ${1...@} is for "the first arg string, removing up to and including the first
> '@' char".
Unfortunately, you have benignly described ${...@}
When you double the '#', it means "be greedy" (longest match), so:
${...@
On 2/24/09 11:51 AM, "Chris Henderson" wrote:
> Out of curiosity: would anyone know what these "${1...@}" ssh "$@"; means?
$@ is sh for the entire arg array, and ${1...@} is for "the first arg
string, removing up to and including the first '@' char". see the bash man
page section on parameter e
On Tue, Feb 24, 2009 at 5:50 AM, Andy Harrison wrote:
> On Tue, Feb 24, 2009 at 12:43 AM, Chris Henderson
> wrote:
>> When I SSH to a server, I would like screen to open that SSH
>> connection in a new window and (re)name that window as that server's
>> name. I have seen this done somewhere befo
On Tue, Feb 24, 2009 at 12:43 AM, Chris Henderson wrote:
> When I SSH to a server, I would like screen to open that SSH
> connection in a new window and (re)name that window as that server's
> name. I have seen this done somewhere before using hardstatus but I
> don't have that config.
Here's ho
When I SSH to a server, I would like screen to open that SSH
connection in a new window and (re)name that window as that server's
name. I have seen this done somewhere before using hardstatus but I
don't have that config.
Here's my .screenrc file.
startup_message off
defscrollback 5
escape \0