Article View: alt.games.warcraft
Article #351792Re: missing addons in linux version
From: John Gordon
Date: Fri, 30 Oct 2015 16:12
Date: Fri, 30 Oct 2015 16:12
27 lines
2594 bytes
2594 bytes
In <vr173blkdg8eqti9o...@4ax.com> Tom Hall <aria1946@gmail.com.invalid> writes:
> > You would need to convert the text files to the right line endings.
I kind of doubt this is the issue. Surely the game uses other text files,
and as far as we know the game is not having any other issues.
> Second, assuming that the ^M is the problem, how do I fix it, short of
> editing EVERY line in EVERY file? There are hundreds of them.
Do you have the 'dos2unix' command on your computer? If so, it's easy:
cd <your addons directory>
find . -type f | xargs dos2unix
If not, it's a little more complicated. This sh script will do the job:
find <your addons directory> -type f | while read filename
do
mv "$filename" "$filename".old
tr -d "\15\32" < "$filename".old > "$filename"
done
--
John Gordon A is for Amy, who fell down the stairs
gor...@panix.com B is for Basil, assaulted by bears
-- Edward Gorey, "The Gashlycrumb Tinies"
Technical Details
Message-ID:
<n104ua$h6e$1@reader1.panix.com>Path:
mbox-mo1.pugleaf.net!z4ni40971ign.0!nntp.google.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!news.snarked.org!news.linkpendium.com!news.linkpendium.com!panix!gordonReferences:
<9prv2bltb0469iadkm02dmdkskd2f1cjpt@4ax.com> <n0orp5$7i8$1@reader1.panix.com> <2t403b5d7392doolpobmc20pc2rugpedd4@4ax.com> <slrnn33cie.1tuh.g.kreme@amelia.local> <8na43b9ce0mtiorf2ldjcrapspdn2s6nvc@4ax.com> <slrnn36f9a.28he.g.kreme@amelia.local> <vr173blkdg8eqti9ob4a7v5hj21vtmd0oi@4ax.com>Show Full Headers
Complete Article Headers
X-Received: by 10.129.85.80 with SMTP id j77mr6931703ywb.31.1446221580790; Fri, 30 Oct 2015 09:13:00 -0700 (PDT) X-BeenThere: alt.games.warcraft@googlegroups.com Received: by 10.50.78.227 with SMTP id e3ls213952igx.22.gmail; Fri, 30 Oct 2015 09:12:59 -0700 (PDT) X-Received: by 10.66.182.166 with SMTP id ef6mr6740883pac.42.1446221579051; Fri, 30 Oct 2015 09:12:59 -0700 (PDT) MIME-Version: 1.0 Path: mbox-mo1.pugleaf.net!z4ni40971ign.0!nntp.google.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!news.snarked.org!news.linkpendium.com!news.linkpendium.com!panix!gordon From: John Gordon <gor...@panix.com> Newsgroups: alt.games.warcraft Subject: Re: missing addons in linux version Date: Fri, 30 Oct 2015 16:12:58 +0000 (UTC) Organization: PANIX Public Access Internet and UNIX, NYC Lines: 28 Message-ID: <n104ua$h6e$1@reader1.panix.com> References: <9prv2bltb0469iadkm02dmdkskd2f1cjpt@4ax.com> <n0orp5$7i8$1@reader1.panix.com> <2t403b5d7392doolpobmc20pc2rugpedd4@4ax.com> <slrnn33cie.1tuh.g.kreme@amelia.local> <8na43b9ce0mtiorf2ldjcrapspdn2s6nvc@4ax.com> <slrnn36f9a.28he.g.kreme@amelia.local> <vr173blkdg8eqti9ob4a7v5hj21vtmd0oi@4ax.com> NNTP-Posting-Host: panix3.panix.com X-Trace: reader1.panix.com 1446221578 17614 166.84.1.3 (30 Oct 2015 16:12:58 GMT) X-Complaints-To: ab...@panix.com NNTP-Posting-Date: Fri, 30 Oct 2015 16:12:58 +0000 (UTC) User-Agent: nn/6.7.3 Bytes: 2076 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit