Subversion Repositories svn.Prod repos

Compare Revisions

No changes between revisions

Ignore whitespace Rev 49 → Rev 50

/filefind/rust/Makefile
0,0 → 1,8
PRG=filefind
SRC=$(PRG).rs
 
$(PRG):
rustc $(SRC)
 
clean:
rm -f $(PRG)
/filefind/rust/filefind
Cannot display: file marked as a binary type.
svn:mime-type = application/x-sharedlib
Property changes:
Added: svn:executable
+*
\ No newline at end of property
Added: svn:mime-type
+application/x-sharedlib
\ No newline at end of property
/filefind/rust/filefind.rs
0,0 → 1,15
use std::env;
 
fn main() {
let args: Vec<String> = env::args().collect();
//println!("{:?}", args);
 
let progname = &args[0];
if args.len() == 2 {
let directory = &args[1];
println!("{}", directory);
}
else {
println!("ERROR: 1 argument expected for {}", progname );
}
}