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