diff options
| author | Sandro Jäckel <sandro.jaeckel@sap.com> | 2023-01-09 11:49:56 +0100 |
|---|---|---|
| committer | Sandro Jäckel <sandro.jaeckel@sap.com> | 2023-01-09 11:49:56 +0100 |
| commit | 86455818e51488863a0dbbb5d48952fd49202af2 (patch) | |
| tree | f270c140422361fad24d5b073bbe341f670bfe6c /scripts/native-utils/src/split_path.rs | |
| parent | 2e1cbbb565c6ad8ca7e5f17c743bb127b22d48f7 (diff) | |
Don't add an extra :, make robust against grep aliases
grep adds a final newline which the second tr turns into an extra :
By using a null byte and telling grep to treat it as text we can avoid
this.
Also guard the grep against the alias in my shell :)
Diffstat (limited to 'scripts/native-utils/src/split_path.rs')
0 files changed, 0 insertions, 0 deletions
