Ah!

Do you use or have access to a Mac, per chance?

If you do, it should (have not tested myself though) also work on a Mac OS X 
system in a terminal window ... :) :)

Z

-----Original Message-----
From: framers-boun...@lists.frameusers.com 
[mailto:framers-boun...@lists.frameusers.com] On Behalf Of Craig Ede
Sent: Thursday, May 17, 2012 3:04 PM
To: framers@lists.frameusers.com
Subject: RE: utility to check that all heading names are unique?

Thank you. I miss UNIX.

Craig

-----Original Message-----
From: Syed Zaeem Hosain (syed.hos...@aeris.net) [mailto:syed.hos...@aeris.net]
Sent: Thursday, May 17, 2012 3:53 PM
To: Craig Ede; framers@lists.frameusers.com
Subject: RE: utility to check that all heading names are unique?

Hmmm ... no need to make it too complicated, I suspect. I suspect a variant of 
the following command line (if you are on a Unix system anyway) will probably 
work:

sort < inputfile.txt | uniq -c | grep -v "   1 "

to find any lines that are present _more_ than once.

(There are three spaces before, and one space character after, the digit 1 
above ... to ignore single occurrences.)

In my PC, I wrote my own uniq and grep years ago to emulate the Unix commands 
in a DOS window, and "sort" has always been available in a DOS command prompt 
... even in today's Windows 7 environment .

Z

-----Original Message-----
From: framers-boun...@lists.frameusers.com
[mailto:framers-boun...@lists.frameusers.com] On Behalf Of Craig Ede
Sent: Thursday, May 17, 2012 11:06 AM
To: framers@lists.frameusers.com
Subject: RE: utility to check that all heading names are unique?

One can pretty easily write a little script (perl, python, etc.) that ticks 
through a text dump of this list and flags you for dupes. If you haven't tried 
to do this sort of thing, it is worth the effort and will spur you on to 
inventing more such tools. That beats the heck out of visually scanning for 
dupes.

Craig


_______________________________________________


You are currently subscribed to framers as syed.hos...@aeris.net.

Send list messages to framers@lists.frameusers.com.

To unsubscribe send a blank email to
framers-unsubscr...@lists.frameusers.com
or visit 
http://lists.frameusers.com/mailman/options/framers/syed.hosain%40aeris.net

Send administrative questions to listad...@frameusers.com. Visit 
http://www.frameusers.com/ for more resources and info.

_______________________________________________


You are currently subscribed to framers as arch...@mail-archive.com.

Send list messages to framers@lists.frameusers.com.

To unsubscribe send a blank email to
framers-unsubscr...@lists.frameusers.com
or visit 
http://lists.frameusers.com/mailman/options/framers/archive%40mail-archive.com

Send administrative questions to listad...@frameusers.com. Visit
http://www.frameusers.com/ for more resources and info.

Reply via email to