Added support for the FTP standalone client to the c64 target.
[contiki-2.x.git] / cpu / cc2430 / segment.rules.pl
blob213dd8fa29eb40e574dc47d986961f717d22d9f5
1 $match_me = pop @ARGV;
2 #print "searching for $match_me\n";
3 while (<>) {
4 s/#.*$//; # filter out comments
5 s/^\s*//; # filter out leading white space
6 @F=split /\s+/; # split on white space
7 if (($_ =~ m/\S\s+\S/) && ($match_me =~ m/$F[1]/)) {
8 print $F[0]."\n";
9 exit; #return only first match