| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Spliiting a command line into two options |
Hello David. 17 Aug 03 19:47, you wrote to me: SR>> I am trying to grab options from a command line basically which SR>> looking like: SR>> tcob1tes this is a test SR>> I want $a to be tcob1tes and $b to be this is a test DD> I'd read $ARGV[0] into $a, then set up a loop to read the rest of the DD> $ARGV array, concatenate the bits with spaces, and shove it in $b... I did that in the end, works a treat. Sean --- GoldED+/W32 1.1.5-030609 --- SBBSecho 2.00-Win32* Origin: TCOB1 A slice of life in your inbox (2:263/950) * Origin: There Can Only Be 1 http://www.tcob1.net (2:263/950) SEEN-BY: 633/267 270 @PATH: 261/38 123/500 106/2000 633/267 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.