mIRC Home    About    Download    Register    News    Help

Print Thread
#85393 05/06/04 12:51 AM
Joined: Dec 2002
Posts: 230
G
greeny Offline OP
Fjord artisan
OP Offline
Fjord artisan
G
Joined: Dec 2002
Posts: 230
An identifier to return the current line in the file that is passed through /filter (if you are using the -k switch) would be nice.
AFAIK there is no possibility to get the current line, is there?

#85394 05/06/04 01:03 AM
I
Iori
Iori
I
Does $1 return what you want? smile

#85395 05/06/04 02:57 PM
Joined: Dec 2002
Posts: 230
G
greeny Offline OP
Fjord artisan
OP Offline
Fjord artisan
G
Joined: Dec 2002
Posts: 230
No sorry, I meant line number, not line, my mistake smile

#85396 06/06/04 08:03 AM
Joined: Dec 2002
Posts: 1,893
O
Hoopy frood
Offline
Hoopy frood
O
Joined: Dec 2002
Posts: 1,893
There should be a way:
  • "The -n switch prefixes lines with a line number"
...but a funny bug makes it prefix the lines with the wrong number.


Link Copied to Clipboard