Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
grep command?
#7
(01-21-2018, 09:30 AM)The Grim Sleeper Wrote: So, I am making some progress getting grep to work, but there is a section of code that defies my understanding.
https://github.com/goonstation/goonstati...es.dm#L855
The 'else'-block here is the other half of the ''if file-to-check is a record" statement, so it's supposed to scope out all other filetypes.
But it doesn't work for folders, and there are no readable files that aren't records. It sure as hell doesn't work for programs. The loop is incomplete and me adding an exit doesn't really help clear things up.

Is there any hope of contacting the person who wrote it?

instead of that just find me in discord or irc and i'll help figure it out (not today, perhaps tomorrow)
Reply


Messages In This Thread
grep command? - by The Grim Sleeper - 01-20-2018, 11:16 AM
RE: grep command? - by kremlin - 01-20-2018, 11:46 AM
RE: grep command? - by The Grim Sleeper - 01-20-2018, 12:37 PM
RE: grep command? - by kremlin - 01-20-2018, 01:29 PM
RE: grep command? - by The Grim Sleeper - 01-21-2018, 06:32 AM
RE: grep command? - by The Grim Sleeper - 01-21-2018, 09:30 AM
RE: grep command? - by kremlin - 01-21-2018, 09:50 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)