Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - General > Member Success Stories
User Name
Password Member Success Stories Just spent four hours configuring your favorite program? Just figured out a Linux problem that has been stumping you for months?
Post your Linux Success Stories here.


  Search this Thread
Old 01-07-2004, 02:14 AM   #1
Registered: Jun 2003
Location: Long Island, NY
Distribution: Gentoo Unstable (what a misnomer)
Posts: 380

Rep: Reputation: 30
Late night ramblings...

Scripting saved me so much time I thought I'd waste some of it
while my script is still running. I needed to extract file names
and build URLs so I didn't have to spend forever Clicking and D/Ling
So I spent a few minutes and crafted this script:


for each in `ls *.html`; do
	fontlist=`html2text $each | grep TTF | cut -f2 -d: | cut -f2 -d" "`
	for font in `echo $fontlist`; do
		letter=`cut -b1 | tr [:upper:] [:lower:]`
Now instead of going through 5 different stupid pages to d/l each
font out of over 6500 fonts I just have to sit back and relax.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
A (Very late) Introduction ilikejam Member Intro 1 07-22-2004 11:01 AM
New it too late? yesfan Linux - Newbie 7 10-16-2003 01:14 PM
Too late to partition again? Micro420 Linux - Hardware 6 09-17-2003 07:59 PM
April ramblings CragStar Linux From Scratch 5 04-24-2002 08:25 PM
is to late? spooge Linux - Software 4 03-07-2002 04:19 PM

All times are GMT -5. The time now is 03:46 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration