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
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..
Here's my command (break intentional):
grep FOO "/Users/gjtorikian/blah" -l | xargs sed -i '' '/FOO/{s/FOO/BAR/g; w /dev/stdout
}'
At the high-level: grep for FOO in the blah directory; pipe in just the filename (because of -l) to sed; sed performs an inline replace (-i '') and prints only the changed term to /dev/stdout.
If I were to omit the -l and pipe, I get this back from grep:
/Users/gj
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.
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.