Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Batch for delimiter

30 views
Skip to first unread message

vanillac...@googlemail.com

unread,
Nov 25, 2016, 7:35:17 AM11/25/16
to
i have a Server.txt
it contains
C050BHAA-N
CLA_KLOP
CLA_BUMA
CLA_REP
NETREE

i have a for script dat gos trhougt this txt

but the for script should only use all textes without CLA_ how kann i do this with delim

B00ze

unread,
Nov 26, 2016, 12:41:30 AM11/26/16
to
Just use delims="_" and it will stuff the result in 2 variables; if
var#1=CLA then you skip it, otherwise if var#2 is not empty your server
is var#1_var#2 otherwise it is simply var#1.

Regards,

--
! _\|/_ Sylvain / B00...@hotmail.com
! (o o) Member:David-Suzuki-Fdn/EFF/Red+Cross/SPCA/Planetary-Society
oO-( )-Oo Obey little! Resist much! Question authority! Eat fibre!

petu...@googlemail.com

unread,
Nov 26, 2016, 6:46:33 AM11/26/16
to
Do you want:
C050BHAA-N
NETREE

Or:
C050BHAA-N
KLOP
BUMA
REP
NETREE

…and can you please provide your existing for script.
0 new messages