Skip to main content
18 events
when toggle format what by license comment
Jul 22, 2015 at 12:56 answer added Peter Cordes timeline score: 0
Jul 22, 2015 at 12:06 answer added Stéphane Chazelas timeline score: 3
Jul 22, 2015 at 11:27 answer added Sobrique timeline score: 4
Jul 22, 2015 at 11:15 comment added Sobrique Can I suggest giving an example of what you do or don't want to match? Because I'd suggest that an XML that doesn't start with < isn't actually XML at all, it's just something that looks a bit like it.
Jul 22, 2015 at 9:37 history edited Chris Davies CC BY-SA 3.0
Corrected question based on information supplied in comments to answers
Jul 22, 2015 at 9:29 answer added mikeserv timeline score: 1
Jul 22, 2015 at 9:24 vote accept Bizboss
Jul 22, 2015 at 8:57 answer added 123 timeline score: 3
Jul 22, 2015 at 8:31 history edited Chris Davies CC BY-SA 3.0
Formatting
Jul 22, 2015 at 8:31 comment added Bizboss @roaima; it's done ;)
Jul 22, 2015 at 8:29 history edited Bizboss CC BY-SA 3.0
added 50 characters in body
Jul 22, 2015 at 8:23 comment added Chris Davies Please update your question with this new information. Otherwise it just gets lost in comments
Jul 22, 2015 at 8:00 review Close votes
Jul 22, 2015 at 11:14
Jul 22, 2015 at 7:59 comment added FelixJN are you tied town to grep only, or is piping it through head an option? If so it's a piece of cake to just loop over all files and check for an unsuccessful grep after head -n 1 and then print the file name.
Jul 22, 2015 at 7:42 comment added Chris Davies When you say "all xml files", is that in the current directory, in the current directory and all sub directories, or in the entire filesystem?
Jul 22, 2015 at 7:41 comment added Chris Davies What are your criteria for identifying "all xml files"? Are you assuming *.xml
Jul 22, 2015 at 7:35 review First posts
Jul 22, 2015 at 7:42
Jul 22, 2015 at 7:35 history asked Bizboss CC BY-SA 3.0