News for hackers. Stuff that matters.
Re:In defense of Unix by fnbr on Sunday March 06, 2016 @01:46PM (#11234900)
What does the -- option do? I haven't encountered that before.
Re:In defense of Unix by QuercusMax on Sunday March 06, 2016 @08:10PM (#11236471)
It means "everything past here should not be parsed as a - or -- flag". If you have a file named "-l", then ls -- -l will show you that file, instead of doing a long listing.
Re:In defense of Unix by cyphar on Sunday March 06, 2016 @11:53PM (#11237175)
It should be noted that not all flag parsers support it. But most people use getopt so it's not a big deal.
Re:In defense of Unix by fnbr on Monday March 07, 2016 @10:52AM (#11239506)
Thanks- that's really useful.