I am trying to write organize songs on my computer and ran out to the problem that some songs had names with underscores instead of spaces(which I had no problems removing, using awk). But i had some troubles with capitalizing first letters of the words. I think that it is not a big problem, but I don't know how to do it.
i have this file, and considering it's obnoxiously huge i'd prefer not to have to do this manually. Is there some way i can manipulate sed or awk to change every other letter in all the words in a file to capital letters?
I'm working on changing some badly named files, lots of them. I have a little script I use to change uppercase to lowercase:
[Code]....
Bear in mind all these files have appropriate numbers in the front of each filename. I need help to change ONLY the first letter after each underscore to an uppercase letter. I'm sure this can be done but I've done so much searching in forums and with Google/linux until I'm scrambled.
At first I apologize if the subject was in the wrong place The reason is that I do not speak English And enlisted Google to translate can I register and add this topic I have a question: Can I change the password to be one of three numbers or three letters only
I use ubuntu 10.04
Note: I know the old password I just want to change
Recently I faced a problem in typing in English in OpenSuse 11.3.When I try to type in English it shows me Greek letter and worse than that I think it is really Greek (not only in font) because when I enter my passwords or try to type a command in terminal I get error,I tested with UK and USA and all other English languages and I still have this problem. I even do reset in my keyboard layout setting and in KDE setting but it didn't help.
In M$ Word, if you press Alt+X, the letter behind the cursor will become a Unicode hexadecimal string. Where is that functionality in OpenOffice.org Writer?
So I've been trying to find a program to edit grub ,so that I'll be able to add a picture behind the letters add new lines,and change the name of the menus. I know in Backtrack that I used a program,I don't really remember which one it was,I think KGrubEditor,but that is a KDE app,and I cannot find a place where I could download it anyway. Do you guys know any alternative,or any way I could do this? I know how to edit grub.cfg,but I want some features besides that.
We have an issue like this: We print PDFs from a Linux box to a printer attached to a Windows machine. Problem is when we print from the Windows the printout comes perfectly with the font bold and clear, but when printing from the Linux box the font is very FAINT and we can see dots in the fonts.
We tried changing the PDF to a text file (i.e. we created text file with the report) with the -o cpi=5 option and still it does not come out properly. Now the font gets bigger, but we can see dots in the font and it is not bold.
I've recently purchased a VPS to run a private server on. I installed gnome and configured it to run on TightVNC to access from my home computer. Whenever I try to type certain letters such as a lower case "s" it instead accesses the shutdown menu at the top right corner. This is disabling me from finishing my server and downright frustrating.
I am looking for this `struct messages_sdd_t` and I need to search through a lot of *.c files to find it.However, I can't seen to find a match as I want to exclude all the words 'struct' and 'messages_sdd_t'. As I want to search on this only 'struct messages_sdd_t' The reason for this is, as struct is used many times and I keep getting pages or search results.The directory I am searching in, has another directories so it will have to search recursively.I have been doing this without success:Code: find . -type f -name '*.c' | xargs grep 'struct messages_sdd_t'and thisCode: find . -type f -name '*.c' | xargs egrep -w 'struct|messages_sdd_t'
15 for(i = 0; i < N; i++) I want to replace "i" with "test" in the line above,whose line number is 15. When I tried this command :15s/i/test/ Line 15 turned to be this: for(test = 0; i < N; i++) It only replace the first "i",but I want to change all "i" in line 15.
I have a text file that contains many lines that look like this:
I'm trying to make my script read this text file, find the string sequence "QIEN", and delete everything from this sequence backwards (including "QIEN") so that the above lines look something like this:
I'm aware that grep is good to do a regular find-and-delete as follows:
Code:
But this will delete everything on the lines that contain the string sequence "QIEN".
I'm trying to use grep to find the words in the dictionary that contain the letters "th" and the letter m.
I tried grep 'th m*.' Desktop/Dictionary/words(Thats where the destined dictionary word document is located)
grep 'th' Desktop/Dictionary/words works but only for the words with th. I have no idea of what expression to use to make it a unionized expression with m
i want to remove words "Max" and "constrained" in a file given below:
Max 0.003745 constrained Max 0.004549 constrained Max 0.001689 constrained
[code]....
and further want to replace "Max" by line number so that i can plot the resulting file. i searched in forum, but couldn't do what i wanted to do. e.g. i used
I have a folder with many many files. e.g html, docs, excel sheet, script etc. Now I want to find {using grep command}a certain word in that folder/directory and delete it in all the files and scripts that have it.
For example, I want to delete the word /testing (with the slash) in all files in a directory.
Using a Linux program to fix my TiVo. Program is burned to a bootable CD, which loads fine. I get asked what the drives are (CD and Hard Disk) with abbreviations like hda, sda, etc. I was able to determine the Hard Drive as /dev/sda, by using <Shift>-PgUp/PgDn, but could not find what the CD drive was.
I use debian 6.0.0. I have installed scim scim-m17n scim-gtk2-immodule m17n-db im-switch. I can write hindi fine in browsers & gedit using transliteration. In vim I see that matra & letter are not positioned correctly. Here is screenshot post.jpg. I am using 'Akshar Unicode' . 'Monospace' does not help either. Otherwise , what font you use?