Home
Not Enough Space: Grep Error in Windows
- Details
- Category: Generalia
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>
Replacing spaces from directories and file names
- Details
- Category: Generalia
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'
मारबो रे सुगवा
- Details
- Category: Generalia
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:
oo je kerwa je pharela khabad se, ohi par suga madaraye
marbo re sugwa dhanukh se, suga gire murjhaye
oo je sugni je royele viyog se, aadit hoyi na sahay
A Note on Installing RxNorm on your System
- Details
- Category: Generalia
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.
Page 4 of 6