Is there a one-liner for this?
From: Phil Powell (soazine_at_erols.com)
Date: 05/30/04
- Previous message: Cameron Laird: "Re: about tcl-send"
- Next in thread: Jeff Godfrey: "Re: Is there a one-liner for this?"
- Reply: Jeff Godfrey: "Re: Is there a one-liner for this?"
- Reply: Gerald W. Lester: "Re: Is there a one-liner for this?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 30 May 2004 11:20:52 -0700
[CODE]
set lob [lindex $cgiDisplayPathList 0]
regsub {^/} $lob {} lob
set cgiDisplayPathList [lreplace $cgiDisplayPathList 0 0 $lob]
[/CODE]
The simple thing I have to do is lob off the '/' from the very first
element in a list, and I'm hoping for a simple one-liner for this, any
ideas?
Thanx
Phil
- Previous message: Cameron Laird: "Re: about tcl-send"
- Next in thread: Jeff Godfrey: "Re: Is there a one-liner for this?"
- Reply: Jeff Godfrey: "Re: Is there a one-liner for this?"
- Reply: Gerald W. Lester: "Re: Is there a one-liner for this?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]