News for hackers. Stuff that matters.
Re:look(1): lines beginning with given string by andreasvc on Saturday December 12, 2015 @10:54PM (#10725362)
It doesn't make sense to sort a configuration file, order and context matters. Easier to just use grep '^#' (or even better, ag).
Re:look(1): lines beginning with given string by hanez on Saturday December 12, 2015 @11:02PM (#10725382)
Yes, I am aware of that but I wanted to understand the usage of 'look' at this point. It was a fault to try stuff using the .zshrc file at first because I ran into misunderstanding everything. It was just the first file that came in mind to me. Since sorting a source file and then "looking" for comments makes no sense in any way, grep seems to be really the better choice.