10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I am trying to script the below, but I am not very good at it :(
Your help would be greatly appreciated.
1. read all files in the directory in strings
strings *.*
2. in each file, for each line that contains "ABCD", store characters located at position 521 and 522 of this line... (9 Replies)
Discussion started by: clippertm
9 Replies
2. Shell Programming and Scripting
Hi, I want to match a column of one file with many others and take the average of each one and put them into one file (I know sounds complicated).
so the 1st file is just a list of names that I want to match with the 2nd file that have names along with rows of values.
awk... (4 Replies)
Discussion started by: kylle345
4 Replies
3. Shell Programming and Scripting
I have a list of strings, for example:
set strLst = "file1 file2 file3 file4"
I want to log an error if some of the fields happen to begin with -, or have characters like ; : ' , ? ] { =
Which means for example setting
set ierr = 1 (2 Replies)
Discussion started by: kristinu
2 Replies
4. UNIX for Dummies Questions & Answers
Morning Guys & Gals,
I am trying to figure out a way to remove lines from a file that have more than
2 identical characters in sequence..
So if for instance the list would look like ;
the output would be ;
I can't seem to get my head around perl (among many other... (7 Replies)
Discussion started by: TAPE
7 Replies
5. UNIX for Dummies Questions & Answers
done some homework on this--
after i remove up to and including the ) i want to take newfile.txt and use that list to remove the files from a file in my the directory pwd
i have a input.txt file
cat input,txt
1)mary.jpg
12)john.jpg
100)frankkfkdf .jpg
i want to remove the characters in the... (1 Reply)
Discussion started by: plener
1 Replies
6. Shell Programming and Scripting
Hi,
I'm fairly new to UNIX, but hopefully some-one can help me with this:
I am using the following code to find files with the name "example.xml":
find . -name "example.xml" -print
that would print me a list like the example here:
./dir1/dir2/example.xml... (5 Replies)
Discussion started by: boijie
5 Replies
7. Shell Programming and Scripting
If I had a word list with a large amount of words in it, how would I (using a unix command) add, say, 123 to the end of each word?
EDIT: The word list is stored in a large text file. I need a command that applies the ending to each word in the file and saves the result in a new text file. (7 Replies)
Discussion started by: evillion
7 Replies
8. Shell Programming and Scripting
Is there a key board shortcut in vi editor to allow me to find the next ( or { that are corresponding to the first one?
Thanks!
It's % sign. (1 Reply)
Discussion started by: whatisthis
1 Replies
9. UNIX for Dummies Questions & Answers
Dear Friends
How i make shortcut in Tru64 unix for example make a shortcut for mail , i want to make a shortcut under / root
the bath for mail # cd /var/spool/mail
Regards, (1 Reply)
Discussion started by: fmmq
1 Replies
10. UNIX for Dummies Questions & Answers
Sorry, anybody here knows how to make a shortcut in unix?
Thanks.
Sebastian. (4 Replies)
Discussion started by: seba
4 Replies