question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ls: parsing "ls -lR"

See original GitHub issue

I don’t get the expected results when I feed ls -lR into jc.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
vielmetticommented, Feb 18, 2020

+1 to avoid crazy regex tokenizing! OK to close after merge.

1reaction
vielmetticommented, Feb 16, 2020

Thanks! Didn’t realize that the output was ambiguous.

(Love this idea, by the way, hopefully as an interim step towards having these utilities generate this style of output directly)

Read more comments on GitHub >

github_iconTop Results From Across the Web

ParsingLs - Greg's Wiki
The ls(1) command is pretty good at showing you the attributes of a single file (at least in some cases), but when you...
Read more >
Why *not* parse `ls` (and what to do instead)?
ls separates filenames with newlines. This is fine until you have a file with a newline in its name. And since I don't...
Read more >
How to parse the listing (ls -ltr) - The UNIX and Linux Forums
Hi, I need to parse the listing (ls -ltr) in a given directory and get a particular value to see the success or...
Read more >
parse result of `ls -l` with bash script [duplicate] - Stack Overflow
However it returns only the last line (i.e. Videos ) so I need to iterate it over all the lines returned by the...
Read more >
parse_dir - parse directory listing
The parse_dir() routine can be used to parse directory listings. Currently it only understand Unix 'ls -l' and 'ls -lR' format. It should...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found