Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: XML Editors

From: "s. keeling" <keeling@-----.--.-->
To: NULL
Date: 3/3/2007 2:56:00 PM

["Followup-To:" header set to alt.os.linux.]
L. Scott M. <scotter59@c...>:
>  On Mar 2, 8:44 pm, ray <r...@zianet.com> wrote:
> > On Fri, 02 Mar 2007 08:37:50 -0800, L. Scott M. wrote:
> > > First I am just starting off using Linux, trying to wean myself away
> > > from Microsoft.
> >
> > > I have some XML files that I have been supporting using Microsoft
> > > Visual Studio 2003/2005, within this enterprise they have the ability
> >
> > I don't know what distribution you're using (it is often helpful to
> 
>  Sorry about that installed SUSE 10.2 on my machine....
> 
>  Really love the learning curve, getting a "tar" file then trying to
>  figure out where to put it, which switch to use, where to put the

Assuming "blah.tar.gz" or "blah.tgz":

   i) To see what's in it:

          tar tvzf blah.tgz     # add "| less" if more than a
                                # screenful.

  ii) To extract it:

      cd /some/where/safe       # Ie. "cd" takes you $HOME, "mkdir dwn"
                                # creates $HOME/dwn, now "cd dwn"

      tar xzf /path/to/blah.tgz # dumps contents into $HOME/dwn

      Or, to pull a single file out of blah.tgz, just name that file
      on the end of the command line.  You get the name from the
      "tvzf" output.

>  Copy files to or restore files from an archive medium.  Options need

 iii) Create compressed tar file:

      cd
      tar czf blah.tgz dwn      # archives and gzips all contents of
                                # $HOME/dwn into $HOME/blah.tgz

>  not be preceded by "-" (though they may be).  The exception to this
>  rule is when your are using a long-style option. -  Linux In a
>  Nutshell page 429.  I then got to read three pages of options all to
>  figure out how to use "tar", my GUI Archive Manager would export, but
>  then the question was to where, my local user, root, under /usr/
>  bin.......  where is the "politically correct" rule of thumb location
>  for downloaded apps  ?

Either in your $HOME if they're just for you, or in /usr/local if for
system wide use.

>  Installing as I type here, thanks oh great masters of the "tar" and
>  the "grep" - seriously thanks, lets see how this goes,

"tar" is quite versatile, which means a lot of options for special
cases.  Most people will never need to use the more obscure ones.  One
relatively obscure one they might need or want is "bzip
compression/decompression", which is the "j" (or --bzip2) switch
instead of "z" (or --compress, --uncompress).  bzip arguably does
better compression than gzip, though it may also be more resource
intensive (better compression == slower).

As for XML, I've done a bit with it but only in text editors (emacs)
which isn't what you're looking for.  I think I prefer to avoid XML
for now.  :-)


-- 
Any technology distinguishable from magic is insufficiently advanced.
(*)    http://www.spots.ab.ca/~keeling          Linux Counter #80292
- -    http://www.faqs.org/rfcs/rfc1855.html    Please, don't Cc: me.
       Spammers! http://www.spots.ab.ca/~keeling/emails.html


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent