Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][tlug] Javascript include order vs cat (Was: grep, sed, and cat - oh my!)
- Date: Fri, 17 Sep 2010 16:24:07 +0900
- From: "Stephen J. Turnbull" <stephen@example.com>
- Subject: [tlug] Javascript include order vs cat (Was: grep, sed, and cat - oh my!)
- References: <4C924ACE.9000707@example.com> <20100916170709.GI2124@example.com> <20100916215027.GA23445@example.com> <4C92CF23.60902@example.com> <4C92D5F5.7080506@example.com>
Dave M G writes: > The errors I get from Firebug indicate that the order in which the > code is written is messed up so that it's trying to use variables > and functions before they're declared. grep for the include lines for partial .js files in the HTML files, which presumably work (if they don't, then you'll get the same bug in the concatenated file), use sed to strip all junk leaving only the file names, then use sed to change the linebreaks to spaces, then feed them to tsort. That will give you the order you want. There is an exactly analogous example in "info tsort."
- Follow-Ups:
- Re: [tlug] Javascript include order vs cat [SOLVED]
- From: Dave M G
- References:
- [tlug] grep, sed, and cat - oh my!
- From: Dave M G
- Re: [tlug] grep, sed, and cat - oh my!
- From: Nicolas Limare
- Re: [tlug] grep, sed, and cat - oh my!
- From: Mattia Dongili
- Re: [tlug] grep, sed, and cat - oh my! [SOLVED]
- From: Dave M G
- [tlug] Javascript include order vs cat (Was: grep, sed, and cat - oh my!)
- From: Dave M G
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] Javascript include order vs cat (Was: grep, sed, and cat - oh my!)
- Next by Date: Re: [tlug] grep, sed, and cat - oh my!
- Previous by thread: Re: [tlug] Javascript include order vs cat (Was: grep, sed, and cat - oh my!)
- Next by thread: Re: [tlug] Javascript include order vs cat [SOLVED]
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links