Hello,
I am trying to modify 2 files, to yield results in a 3rd file.
File-1 is a 8-columned file, separted with tab.
Code:
1234:1 xyz1234 blah blah blah blah blah blah
1234:1 xyz1233 blah blah blah blah blah blah
1234:1 abc1234 blah blah blah blah blah blah
n/a RRR0000 blah blah blah blah blah blah
n/a RRR0000 blah blah blah blah blah blah
9876:2 htg234 blah blah blah blah blah b
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
n/a
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.
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
This is upsetting, as I finally had my Gazelle Pro running smoothly after the 12.04 upgrade months back.
Anyway, I got the message today that a system upgrade to 12.04.1 was available, I went to run it, and it tells me I can only do a partial upgrade.
I run it and on reboot I get command line. I tried to restart lightdm and it fails. Switch over to gdm and that fails too.
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