From ec7f971102797bcc7133ec9ac4c6f7263c6b6d8b Mon Sep 17 00:00:00 2001
From: fcolin
Date: Fri, 25 May 2007 12:14:28 +0000
Subject:
---
getoptOLD/Arg.cs | 15 ------
getoptOLD/GetOpt.cs | 98 -------------------------------------
getoptOLD/getopt.csproj | 106 -----------------------------------------
getoptOLD/getopt.csproj.user | 58 ----------------------
getoptOLD/getopt.csproj.vspscc | 10 ----
getoptOLD/getopt.sln | 19 --------
getoptOLD/getopt.suo | Bin 14336 -> 0 bytes
getoptOLD/mssccprj.scc | 5 --
getoptOLD/vssver2.scc | Bin 164 -> 0 bytes
9 files changed, 311 deletions(-)
delete mode 100644 getoptOLD/Arg.cs
delete mode 100644 getoptOLD/GetOpt.cs
delete mode 100644 getoptOLD/getopt.csproj
delete mode 100644 getoptOLD/getopt.csproj.user
delete mode 100644 getoptOLD/getopt.csproj.vspscc
delete mode 100644 getoptOLD/getopt.sln
delete mode 100644 getoptOLD/getopt.suo
delete mode 100644 getoptOLD/mssccprj.scc
delete mode 100644 getoptOLD/vssver2.scc
(limited to 'getoptOLD')
diff --git a/getoptOLD/Arg.cs b/getoptOLD/Arg.cs
deleted file mode 100644
index 0b86cad..0000000
--- a/getoptOLD/Arg.cs
+++ /dev/null
@@ -1,15 +0,0 @@
-using System;
-
-namespace Gnu
-{
- ///
- /// An argument for GetOpt
- ///
- public class Arg
- {
- public char Flag;
- public bool TakesParameter = false;
-
- public string Parameter = "";
- }
-}
diff --git a/getoptOLD/GetOpt.cs b/getoptOLD/GetOpt.cs
deleted file mode 100644
index a158073..0000000
--- a/getoptOLD/GetOpt.cs
+++ /dev/null
@@ -1,98 +0,0 @@
-using System;
-using System.Collections.Specialized;
-using System.Collections.Generic;
-
-namespace Gnu
-{
- ///
- /// An implementation of the getopt standard, as used by Gnu GetOpt
- ///
- public class GetOpt
- {
- StringCollection m_params = new StringCollection();
- StringCollection m_extras = new StringCollection();
- List m_args = new List();
-
- public GetOpt(string[] CommandLineArgs, string ParametersDescription)
- {
- // Import the string array into the collection
- foreach(string s in CommandLineArgs)
- {
- m_params.Add(s);
- }
-
- // Parse the params description
- for(int i = 0; i < ParametersDescription.Length; i++)
- {
- Arg a = new Arg();
- a.Flag = ParametersDescription[i];
- if((ParametersDescription.Length > i + 1) && (ParametersDescription[i + 1] == ':'))
- {
- a.TakesParameter = true;
- i++;
- }
-
- m_args.Add(a);
- }
- }
-
- public Arg NextArg()
- {
- SnarfExtras();
-
- if(m_params.Count == 0)
- return null;
-
- foreach(Arg a in m_args)
- {
- if(a.Flag == m_params[0][1] && m_params[0][0] == '-' )
- {
- Arg matched = a;
- try
- {
- if(a.TakesParameter)
- {
- matched.Parameter = m_params[1];
- m_params.RemoveAt(1);
- }
- }
- catch(Exception)
- {
- }
-
- m_params.RemoveAt(0);
- return matched;
- }
- }
-
- if(m_params[0][0] == '-')
- {
- Arg tempa = new Arg();
- tempa.Flag = m_params[0][1];
- tempa.TakesParameter = false;
- return tempa;
- }
- return null;
- }
-
- public StringCollection Extras
- {
- get
- {
- SnarfExtras();
-
- return m_extras;
- }
- }
-
- private void SnarfExtras()
- {
- // Parameters must start with a hyphen
- while((m_params.Count > 0) && (m_params[0][0] != '-'))
- {
- m_extras.Add(m_params[0]);
- m_params.RemoveAt(0);
- }
- }
- }
-}
diff --git a/getoptOLD/getopt.csproj b/getoptOLD/getopt.csproj
deleted file mode 100644
index 3cca427..0000000
--- a/getoptOLD/getopt.csproj
+++ /dev/null
@@ -1,106 +0,0 @@
-
-
- Local
- 8.0.50727
- 2.0
- {228B5F0B-31AE-488F-A916-B7CBB269D25F}
- Debug
- AnyCPU
-
-
-
-
- getopt
-
-
- JScript
- Grid
- IE50
- false
- Library
- getopt
- OnBuildSuccess
-
-
-
-
-
-
- SAK
- SAK
- SAK
- SAK
-
-
- bin\Debug\
- false
- 285212672
- false
-
-
- DEBUG;TRACE
-
-
- true
- 4096
- false
-
-
- false
- false
- false
- false
- 4
- full
- prompt
-
-
- bin\Release\
- false
- 285212672
- false
-
-
- TRACE
-
-
- false
- 4096
- false
-
-
- true
- false
- false
- false
- 4
- none
- prompt
-
-
-
- System
-
-
- System.Data
-
-
- System.XML
-
-
-
-
- Code
-
-
- Code
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/getoptOLD/getopt.csproj.user b/getoptOLD/getopt.csproj.user
deleted file mode 100644
index cfcf828..0000000
--- a/getoptOLD/getopt.csproj.user
+++ /dev/null
@@ -1,58 +0,0 @@
-
-
- 7.10.3077
- Debug
- AnyCPU
-
-
-
-
-
-
- 0
- ProjectFiles
- 0
-
-
- false
- false
- false
- false
- false
-
-
- Project
-
-
-
-
-
-
-
-
-
-
- true
-
-
- false
- false
- false
- false
- false
-
-
- Project
-
-
-
-
-
-
-
-
-
-
- false
-
-
\ No newline at end of file
diff --git a/getoptOLD/getopt.csproj.vspscc b/getoptOLD/getopt.csproj.vspscc
deleted file mode 100644
index feffdec..0000000
--- a/getoptOLD/getopt.csproj.vspscc
+++ /dev/null
@@ -1,10 +0,0 @@
-""
-{
-"FILE_VERSION" = "9237"
-"ENLISTMENT_CHOICE" = "NEVER"
-"PROJECT_FILE_RELATIVE_PATH" = ""
-"NUMBER_OF_EXCLUDED_FILES" = "0"
-"ORIGINAL_PROJECT_FILE_PATH" = ""
-"NUMBER_OF_NESTED_PROJECTS" = "0"
-"SOURCE_CONTROL_SETTINGS_PROVIDER" = "PROVIDER"
-}
diff --git a/getoptOLD/getopt.sln b/getoptOLD/getopt.sln
deleted file mode 100644
index 3dab7ec..0000000
--- a/getoptOLD/getopt.sln
+++ /dev/null
@@ -1,19 +0,0 @@
-Microsoft Visual Studio Solution File, Format Version 9.00
-# Visual Studio 2005
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "getopt", "getopt.csproj", "{228B5F0B-31AE-488F-A916-B7CBB269D25F}"
-EndProject
-Global
- GlobalSection(SolutionConfigurationPlatforms) = preSolution
- Debug|Any CPU = Debug|Any CPU
- Release|Any CPU = Release|Any CPU
- EndGlobalSection
- GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {228B5F0B-31AE-488F-A916-B7CBB269D25F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {228B5F0B-31AE-488F-A916-B7CBB269D25F}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {228B5F0B-31AE-488F-A916-B7CBB269D25F}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {228B5F0B-31AE-488F-A916-B7CBB269D25F}.Release|Any CPU.Build.0 = Release|Any CPU
- EndGlobalSection
- GlobalSection(SolutionProperties) = preSolution
- HideSolutionNode = FALSE
- EndGlobalSection
-EndGlobal
diff --git a/getoptOLD/getopt.suo b/getoptOLD/getopt.suo
deleted file mode 100644
index fc0301d..0000000
Binary files a/getoptOLD/getopt.suo and /dev/null differ
diff --git a/getoptOLD/mssccprj.scc b/getoptOLD/mssccprj.scc
deleted file mode 100644
index 2aeb91c..0000000
--- a/getoptOLD/mssccprj.scc
+++ /dev/null
@@ -1,5 +0,0 @@
-SCC = This is a Source Code Control file
-
-[getopt.csproj]
-SCC_Aux_Path = "C:\Users\fcolin\Documents\Visual Source Safe"
-SCC_Project_Name = "$/CSharp/getopt", RBIAAAAA
diff --git a/getoptOLD/vssver2.scc b/getoptOLD/vssver2.scc
deleted file mode 100644
index 44d6a95..0000000
Binary files a/getoptOLD/vssver2.scc and /dev/null differ
--
cgit v1.1