| delorie.com/archives/browse.cgi | search |
| X-Spam-Check-By: | sourceware.org |
| From: | "Dave Korn" <dave DOT korn AT artimi DOT com> |
| To: | "'cygwin general mailing list'" <cygwin AT cygwin DOT com> |
| Subject: | RE: Where does Cygwin store its parameters? |
| Date: | Mon, 4 Dec 2006 12:06:30 -0000 |
| Message-ID: | <09f001c7179c$a2658e10$a501a8c0@CAM.ARTIMI.COM> |
| MIME-Version: | 1.0 |
| X-Mailer: | Microsoft Office Outlook 11 |
| In-Reply-To: | <20061245339.311604@privateconcern> |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.com> |
| List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
On 04 December 2006 11:04, Dave Silvia wrote:
> Hi!
>
> I'm trying to write a script that knows what the user selected for
> parameters at installation.
Are you sure this is the best way to achieve whatever end result you're
using? Give us some more detail, maybe there's a better way without having to
know this stuff.
> For example, What type of line endings (CRLF, LF, etc.). Where
> does Cygwin store this sort of information, if anywhere?
The type of line-endings can be inferred from the mount-mode of the root
directory; it's not stored explicitly anywhere AFAIK. Most of the remaining
information is stored in /etc/setup/last-{action,cache,connection,mirror}.
cheers,
DaveK
--
Can't think of a witty .sigline today....
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |