|
@@ -125,19 +125,22 @@
|
|
|
inputLine = [inputLine stringByTrimmingCharactersInSet:[NSCharacterSet whitespaceAndNewlineCharacterSet]];
|
|
|
inputLine = [inputLine stringByTrimmingCharactersInSet:[NSCharacterSet characterSetWithCharactersInString:@"\t"]];
|
|
|
NSMutableString *newString = [[NSMutableString alloc] initWithString:inputLine];
|
|
|
+
|
|
|
[newString replaceOccurrencesOfString:@" " withString:@" " options:NSLiteralSearch range:NSMakeRange(0, [newString length])];
|
|
|
- [newString replaceOccurrencesOfString:@" " withString:@" " options:NSLiteralSearch range:NSMakeRange(0, [newString length])];
|
|
|
- [newString replaceOccurrencesOfString:@" " withString:@" " options:NSLiteralSearch range:NSMakeRange(0, [newString length])];
|
|
|
- [newString replaceOccurrencesOfString:@" " withString:@" " options:NSLiteralSearch range:NSMakeRange(0, [newString length])];
|
|
|
[newString replaceOccurrencesOfString:@" " withString:@" " options:NSLiteralSearch range:NSMakeRange(0, [newString length])];
|
|
|
-
|
|
|
NSArray *lineObjects = [newString componentsSeparatedByString:@" "];
|
|
|
-
|
|
|
//NSLog(@"lineObjects: %@", lineObjects);
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
|
+ "drwxr-xr-x",
|
|
|
+ "root/wheel0",
|
|
|
+ "2019-08-31",
|
|
|
+ "06:03",
|
|
|
+ "."
|
|
|
+
|
|
|
+
|
|
|
"drwxr-xr-x",
|
|
|
"root/wheel",
|
|
|
0,
|