Hei buddies,
Need ur help once again.
I have a file which has bunch of lines which starts from a fixed pattern and ends with another fixed pattern.
I want to make use of these fixed starting and ending patterns to select the bunch, one at a time.
The input file is as follows.
Hi welcome
blah blah blah
blah blah blah
Bye**
Hi welcome
blah blah
blah blah
blah blah
blah blah
bl
Hi people,
I am new to shell scripting, My problem is i have the output of a shell command in one file,and an output of another command in another file, what i want is, I want to append the output of the second command at a particular location of the first file recursively.
Ex:(OUTPUT OF Ist COMMAND)File 1 -->
Code:
-------------------blah blah blah some link(/blah/blah/blah) blah blah --
I've been doing some experiments with "replaceall" function to change content of a file.
Dear Buddies,
Need ur help once again.
I have a flat file with around 20 million lines (Huge file it is). However, many of the lines are of no use hence I want to remove it. To find and delete such lines we have certain codes written at the starting of each line. Basis that we can delete the lines.
I finally managed to pull the recovery image for the R720.
This should also work on Admire (MPCS) although I havent tested it yet.
Good if you need to go back to your stock recovery for whatever reason (returns, misc.)
Disclaimer:
blah blah blah. not responsible.. blah blah.. for any bricked devices.. blah blah..
Imagine my directory looked like this:
./original.txt
./blah.1.txt
./blah.2.txt
[...]
./blah.999999.txt
I essentially want to replace every blah.* file with the contents of original. My initial try was to do this:
$ cp original.txt blah.*
But I get:
cp: target ``blah.1.txt' is not a directory
Then you may need to use the -javadir argument to tell the installer where Java is actually installed, because /tmp/blah/blah/blah doesn't seem right.
I am debating switching from 11.10 to alpha 2 12.04 as my main os (and yes I know it can be unstable blah blah blah). I cant find anything about it on google, has anyone got gnome shell to work on 12.04? Unity is not my cup of tea... which is why I ask
hey guys i am switching to ubuntu cause i like it alot better than windows but i am having trouble starting up wow. I copied my game from windows to ubuntu and tried starting it up the launcher with wine but when i do it says updating setup files then like 2 min later it says missing agent try again later blah blah blah.