libguestfs source code using GNU source-highlight

I used GNU source-highlight like this:

for f in $(for ext in $(source-highlight --lang-list | awk '{print $1}'); do
             find libguestfs-1.3.13 -name "*.$ext"
           done); do
  source-highlight --line-number-ref -i $f -o $f.html
done

to show the complete highlighted source to libguestfs 1.3.13. For example src/guestfs.c.

There’s reason behind this, to come …

Leave a comment

Filed under Uncategorized

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s