I guess I am having a lot of free time or perhaps my being from JNU, currently the row throughout the world, I have been dabbling into a lot of debates in this regard, mostly on the social media (Facebook). However, I try to make it a point that I engage with only the people I know. The passions are too high, especially in the people associated with JNU. And there is chance that the debate might turn sour and debaters would step down to the level of getting personal or generalizing the person in front, as if the debater represents everyone who, supposedly, vouches for the idea he is speaking for.

I saw one post by one of my juniors. I do not know her that well, but yes you can say that I have met her and feel that a debating spirit would be there in her. As we were discussing our viewpoints, mine being the right and hers being the left.

So, it all began with a post by her on Facebook about an article on Scroll.com titled: "Soon, a government media cell will track and counter negative content". Her post goes as follows:

I was once trying to run a grep command to a directory and looking for a string inside it.
While the directory I was looking into was in a different drive (F:) than that of the system drive (C:) where the grep was installed.

I used the command prompt to first descend into the directory. So, I first went into the directory such that my command prompt looked like as follows:
    F:\MySearchDirectory>

As I was already into this directory, I just shot the gremp command like the following:

    grep -r "mysearchstring"

But this came with an error as follows:

    grep: (standard input): Not enough space

Of course my computer did not have any issues with the space as this was an I7 processor with a huge 16GB of RAM and the hard disk had more than 40% available in all the drives.

This must have to be something else.

I tried to find out but the solutions given were rather too geeky like installing cygwin to do this.

However, I tried to do this using another method. I closed the command prompt and started it again. I did not change my directory in the commmand prompt to F: drive this time. Rather I just shot the following command at its default location:

    grep -r "mysearchstring" F:\MySearchDirectory

And lo, the result was out there in no time.

So, what did it do? I guess wingrep works best when it is in its default location and target anything at other location.

Hope this helps another Windows user.

Another very melodious song which could be attributed to both Bhojpuri and Maithili. The lyrics are given below. Curiously, the song is sung by an Assamese singer, Kalpana Patowary. Do not know who wrote the lyrics. The lyrics is very simple in meaning and can be summarized as follows.

It talks about the fruition of different native fruits (except apple) in the native place of Bihar and around. This is being eaten by a parrot and the lyricist threatens the parrot that he will kill it. After the parrot is killed, the female parrot will cry out in agony of his leaving. And thus to save this agony, the lyricist is praying to the god Sun to be helpful.

The meaning rather is very hotch-potched and nothing comes out clearly except that it does evoke an painful emotion in you. But this is more of the magic of the voice singing it.

Hinglish lyrics of the song:

How to replace spaces from directories with an underscore in linux?

A Bash command like the following can do this. On your terminal, you need to be in the directory going down from where you want to change the directories. Please note that the following command does the replacements recursively. SO, even the sub-directories would have its spaces replaced with an underscore:

   find -depth -name "* *" -execdir rename 's/ /_/g' "{}" \;

If you do not want to do it recursively also into sub-directories, you should fire the following command:
   find -name "* *" -type d | rename 's/ /_/g'


How do to the same in the files?

Find the file names in a directory and its subdirectory containing spaces. Replace the space between the stars with any string and it will find the files containing that string.bio
    find -name "* *" -type f

To replace a string in the file name under that directory/sub-directory, use the following command:
    find -name "* *" -type f | rename 's/ /_/g'

I was trying to install RxNorm 2014 on my system, a Windows machine and had an issue in installing it properly using the scripts provided in the downloaded files.
The downloaded files have a directory for the scripts. The scripts are meant for different platforms. I was on a Windows machine and for the script was the file with the .bat extension. I edited this file to provide the information on the MySQL installation and configuration for my PC. After this I ran this script. But it gave me an error as shown in the log file created. The error was like this:

"File 'RXNATOMARCHIVE.RRF' not found (Errcode: 2)"

It could not find the RRF files which were necessary to populate the tables.


Solution:
This was a sure indication it was an error in path. And most likely, you have not read the documentation. If you read the documentation of RxNorm in full, you will find that they tell you to move the scripts and the relevant sql files to the same directory where RRF files are located. That means you need to copy these files one directory back to the RRF directory and run the .bat file once again.
Once this is done, the MySQL installation of RxNorm should be okay.
Please, note if you are not able to edit the .bat file second time after you have done it once, make another copy of the .bat file and run that. Things would go okay.