Home > Arch, Code, Linux > Hashbang #! and amarok1 on Arch

Hashbang #! and amarok1 on Arch

The #! at the start of bash, ruby, python scripts is called the hashbang. Its use with the Amarok install –

One or two days after writing the article about amarok1 installation on Arch, a new version of amarok1 with ruby1.9 support was uploaded. As most of the ruby scripts for amarok1 still work only with ruby1.8, I decided to keep my old version. Today, while I was looking through a few bash scripts, I realized that using #! in the needed ruby scripts was a better option. So, now I use the  AUR package and just change the hashbang lines in my scripts to point to ruby1.8 exec. If only I had realized this earlier :P :P

Anyways, more info about hashbang here.

About these ads
Categories: Arch, Code, Linux
  1. Jitesh
    December 9, 2009 at 9:23 am | #1

    actually, its shebang (which is sort of p(h)unny too ;) )

  1. No trackbacks yet.

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 )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: