10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I know how to search for a pattern/regular expression in many files that I have in a directory. For example, by doing this:
grep -Ril "News/U.S." .
I can find which files contain the pattern "News/U.S." in a directory.
I am unable to accomplish about how to extend this code so that it can... (1 Reply)
Discussion started by: shoaibjameel123
2. Shell Programming and Scripting
I'd like to extract, from a text file, the strings starting with "The Thing" and only composed of words with a capital first letter and apostrophes, like for example:
"The Thing I Only" from "those are the The Thing I Only go for whatever."
"The Thing That Are Like Men's Eyewear" ... (7 Replies)
Discussion started by: louisJ
3. Shell Programming and Scripting
I have a file with two columns (I uploaded it because it is some 500K):
File-Upload.net - data.dat
If you plot the data with, say, gnuplot,
plot 'data.dat' u 1:2 w l
you will see that there are jumps. This is actually an orbit and a maximum corresponds to an apocenter and a... (2 Replies)
Discussion started by: pau
4. Shell Programming and Scripting
Got a question for you guys...I am searching through a public directory (that has tons of files) trying to find a file that I was working on a longggggg time ago. I can't remember what it is called, but I do remember the content. It should contains words like this:
zeus... (5 Replies)
Discussion started by: statichazard
5. Shell Programming and Scripting
i want to write a shell script that correct a text file.for example if i have the input file:
"john has has 2 apples
anne has 3 oranges oranges"
i want that the output file be like this:
"john has 2 apples
anne has 3 oranges"
i've tried to read line by line from input text file into array... (11 Replies)
Discussion started by: cocostaec
6. Shell Programming and Scripting
I have a directory which contains files that can be versioned. All the files are named according to a pattern like this:
If a file is versioned, a file called
... (10 Replies)
Discussion started by: fox1212
7. Shell Programming and Scripting
find the number of unique words in a file using sort com-
mand. (7 Replies)
Discussion started by: abhikamune
8. Shell Programming and Scripting
Hi guys, I have a file with a list of phoneme for words, it looks like this:
AILS EY1 L Z
AIMLESSLY EY1 M L AH0 S L IY0
AIMONE EY1 M OW2 N
AIMS EY1 M Z
AINGE EY1 NG
AINGE(2) EY1 N JH
AINLEY EY1 N L IY0
AINSLIE EY1 N Z L IY0
AIR EH1 R
AIRBAGS EH1 R B AE2 G Z
and I need to... (5 Replies)
Discussion started by: Andrew9191
9. UNIX for Dummies Questions & Answers
cud u help me to find this.
i hav 2 files.
file1 has data as "ARUN
ARUN is from Australia
Arun likes America etc..
ARUN ARUN "
file2 has "ARUN
i... (5 Replies)
Discussion started by: arunsubbhian
10. Shell Programming and Scripting
I want to be able to list all the names in a file which begin with a capital letter, but I don't want it to list words that begin a new sentence. Is there any way round this?
Thanks for your help. (1 Reply)
Discussion started by: kev269