Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Print full directory name from lsof #1

Closed
wants to merge 1 commit into from
Closed

Conversation

rmccue
Copy link
Owner

@rmccue rmccue commented Nov 11, 2017

awk splits lines based on spaces, which causes directory names with spaces to end up in other fields. Using a for loop allows us to print from the 9th field onwards instead of just the 9th field.

Fixes facebook#3439.

awk splits lines based on spaces, which causes directory names with spaces to end up in other fields. Using a for loop allows us to print from the 9th field onwards instead of just the 9th field.
@rmccue rmccue closed this Nov 11, 2017
@rmccue
Copy link
Owner Author

rmccue commented Nov 11, 2017

(Shout out to GitHub's UI for making me file this on the wrong repo. 🙄)

@rmccue rmccue deleted the print-full-dir-name branch January 10, 2018 14:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant