source:
trunk/procs/grep.pro
@
2
Last change on this file since 2 was 2, checked in by post_it, 17 years ago | |
---|---|
File size: 183 bytes |
Line | |
---|---|
1 | FUNCTION grep, command, separator, index |
2 | ; |
3 | ; grep |
4 | ; |
5 | spawn, command, line |
6 | line = strcompress(strtrim(line[0])) |
7 | argvar = str_sep(line, separator) |
8 | |
9 | return, argvar[index] |
10 | |
11 | END |
12 |
Note: See TracBrowser
for help on using the repository browser.