[CLUE-Tech] A Simpler way

Cyberclops Cyberclops at hawaii.rr.com
Sun Apr 15 12:49:40 MDT 2001


I think you make a very good point about doing things the simplest way. 
One of the problems I have is just understanding the command line
syntax.  Ideally. I would like a session with computers where a simple
file is created and then we learn to manipulate it with the CLI
interface and a variety of ways and then explore the possibility of
doing the same maneuvers with a GUI.  SOmetimes I believe the GUI is
simpler for simpler things, but I believe the CLI would be better for
more complex tasks.  I'm also wondering if the CLI is more error free
assuming you type the correct commands ion the first place.  THe reason
I say this is that I know for a fact that the KDE copy or move
operations can become overwhelmed and crash out in the middle of the
operation.  I doubt this happens in a CLI mode only.

Kevin Cullis wrote:
> 
> Hey all,
> 
> I've been having a discussion with a programmer friend of mine and it's
> funny how we both have different views of the same problem.  I sometimes
> want to "cut and paste" data from the web browser into VIM in order to
> parse the data into useable form, such as records to be inported into a
> database. However, he has stated, along with other programmers I know,
> that I should save the file in HTML and then parse the HTML out of the
> file.  However, while both achieve the same results, my programming
> friends way takes considerably more work and knowledge than my "cut and
> paste" method.  In fact, all I have in my file is the data with a large
> number of spaces which require ONLY one command to use in order to
> remove the multiple spaces rather than his PERL or other method to
> parsing HTML tags.
> 
> Why am I mentioning this?  Because most new people to Linux can be
> bombarded with more technical approaches to a problem when sometimes a
> simple problem requires a simple solution.
> 
> In VIM, I type:
> 
> :%s/   *//g
> 
> to remove all multiple spaces leaving only my data in fields.  However,
> my friends approach can be used for more complex approaches to other
> problems which I can consider in future projects.
> 
> Just a comment.
> 
> Kevin
> _______________________________________________
> CLUE-Tech mailing list
> CLUE-Tech at clue.denver.co.us
> http://clue.denver.co.us/mailman/listinfo/clue-tech



More information about the clue-tech mailing list