bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Totally off topic: I'm Re-Learning C


From: Joshua Branson
Subject: Re: Totally off topic: I'm Re-Learning C
Date: Wed, 06 Jun 2018 11:32:11 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)

Almudena Garcia <liberamenso10000@gmail.com> writes:

> What do you refers with "minify"? Explain more

Sure. haha.

Basically I'll turn 

#+BEGIN_HTML
<html>
    <head>
        <title>Bootstrap 101 Template</title>
    </head>
    <body>
        <h1>Hello, world!</h1>
    </body>
</html>
#+END_HTML

into

#+BEGIN_HTML
<html><head><title>Bootstrap 101 Template</title></head><body><h1>Hello, 
world!</h1></body></html>
#+END_HTML

This is only barely useful.  There's tons of programs that already do this.

>
> 2018-06-06 17:07 GMT+02:00 Joshua Branson <jbranso@fastmail.com>:
>
>  Hello all!
>
>  About a week or 2 ago I wanted to brush up on my C coding.  So I had a
>  very simple goal of writing a C program to minify a real simple html
>  file.  This C file in fact:
>
>  #+BEGIN_HTML
>  <html>
>      <head>
>          <title>Bootstrap 101 Template</title>
>      </head>
>      <body>
>          <h1>Hello, world!</h1>
>      </body>
>  </html>
>  #+END_HTML
>
>  Anyway, I wrote a very basic parser, and I'm probably doing a lot of
>  things wrong, but I am learning C!
>
>  Thanks,
>
>  Joshua



reply via email to

[Prev in Thread] Current Thread [Next in Thread]