9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Shell script logic
Hi
I have 2 input files like with file 1 content as (file1)
"BRGTEST-242" a.txt "BRGTEST-240" a.txt "BRGTEST-219" e.txt
File 2 contents as fle(2)
"BRGTEST-244" a.txt "BRGTEST-244" b.txt "BRGTEST-231" c.txt "BRGTEST-231" d.txt "BRGTEST-221" e.txt
I want to get... (22 Replies)
Discussion started by: pottic
22 Replies
2. Post Here to Contact Site Administrators and Moderators
Let's see if this works here.
(Except I can't post a URL ...)
I posted the thread above and you can't see content, only the subject title.
Moderator Don Cragun replied to the post in Shell scripting and programming. (2 Replies)
Discussion started by: Dalej
2 Replies
3. Shell Programming and Scripting
Hi,
I am facing issue while reading data from a file in UNIX. my requirement is to compare two files and for the text pattern matching in the 1st file, replace the contents in second file by the contents of first file from start to the end and write the contents to thrid file.
i am able to... (2 Replies)
Discussion started by: seeki
2 Replies
4. Shell Programming and Scripting
Hi All,
I have a file which is like this:
rows.dat
1 2 3 4 5 6
3 4 5 6 7 8
7 8 9 0 4 3
2 3 4 5 6 7
1 2 3 4 5 6
I have another file with numbers like these (numbers.txt):
1
3
4
5
I want to read numbers.txt file line by line. The extract the row from rows.dat based on the... (3 Replies)
Discussion started by: shoaibjameel123
3 Replies
5. Shell Programming and Scripting
Hi,
I want to delete the contents of a file which are matching with contents of other file in shell scripting.
Ex.
file1
sheel,sumit,1,2,3,4,5,6,7,8
sumit,rana,2,3,4,5,6,7,8,9
grade,pass,2,3,4,5,6,232,1,1
name,sur,33,1,4,12,3,5,6,8
sheel,pass,2,3,4,5,6,232,1,1
File2... (3 Replies)
Discussion started by: ranasheel2000
3 Replies
6. UNIX for Advanced & Expert Users
Hi,
I have a 1TB external iomega hard disk, and I want to plug it to a solaris 8 machine. The problem is that solaris doesn't recognize the NTFS file system partition.
I was thinking of formatting it to FAT32, but I would like to know if anyone knows a better file system, considering:
- I... (6 Replies)
Discussion started by: Dann-E
6 Replies
7. UNIX for Dummies Questions & Answers
Give shell script....which takes two file names as input and compares the contents, is both are same delete second file's contents.....
I try with "diff"...... but confusion how to use "diff" with if ---else
Thanking you (5 Replies)
Discussion started by: krishnampkkm
5 Replies
8. Solaris
Hello All,
I have a DOS file which I run a DOS 2 UNIX utility on. When run from Solaris, I can view the file perfectly. But, when run from linux, I see a bunch of junk(^@) at the beginning of every line in the file. Does anyone know the cause of this?
COMMAND TO CONVERT:
tr -d '\015\032'... (7 Replies)
Discussion started by: vada010
7 Replies
9. UNIX for Dummies Questions & Answers
how to open a text file by double clicking on the file name shown in a label widget in gtk+.
thanks (0 Replies)
Discussion started by: cy163
0 Replies