9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I have a huge file that has data something like shown below:
huge_file.txt
start regexp
Name=Name1
Title=Analyst
Address=Address1
Department=Finance
end regexp
some text
some text
start regexp
Name=Name2
Title=Controller
Address=Address2
Department=Finance
end regexp (7 Replies)
Discussion started by: r3d3
7 Replies
2. Shell Programming and Scripting
Hi everyone , i am new in shell scripting and i want to do a simple job.
A have in a file a text that looks like :
4770 maniac 20 0 13680 312 240 S 0.0 0.0 0:00.00 pro 4770 maniac 20 0 23448 312 240 S 0.0 0.0 0:00.00 pro 4770 maniac 20 0 33216 312 240 S 0.0 0.0 0:00.00 pro
and i want to... (2 Replies)
Discussion started by: pcmaniac
2 Replies
3. SCO
hi
Knows someone what kind of file system uses SCO Unix 5.0.6?
Which linux or unix LIVE CD can read and write into file system from SCO Unix?
I've tried to boot SCO using Knoppix 6.2.1 LIVE CD, but cannot mount.
# mount -t sysv /dev/sda1 /mnt
mount: wrong fs type, bad option, bad superblock... (2 Replies)
Discussion started by: ccc
2 Replies
4. Red Hat
Hi,
I comment out some vol group in fstab accidentally.
I also comment the swap space in /etc/fstab
But I cannot edit /remove it back by using vi /etc/fstab again in init 1 and init 6 .
The file system /etc/fstab is read -only . I cannot chmod .....
What can I do in order to recover it ... (2 Replies)
Discussion started by: chuikingman
2 Replies
5. Shell Programming and Scripting
I wrote this script to create and edit a large number of websites based on a template site and a collection of text files which have the relevant strings in them delimited by colons. I run it and the shell doesn't produce any errors, but when it gets to the for loop where it actually has to edit... (2 Replies)
Discussion started by: afroCluster
2 Replies
6. UNIX for Dummies Questions & Answers
hi,
i need to remove the first column (and dash) from this text file.
Is there any unix command allowing me to do it ?
1-16
2-28
3-16
4-20
5- 8
6-32
7-19
8-16
9-27
10- 7
11-14
12-18
thanks (2 Replies)
Discussion started by: aneuryzma
2 Replies
7. Shell Programming and Scripting
# cat test
mpath0:253:8:L--w:0:1:2:mpath-2000b080008002158
mpath19:253:7:L--w:0:1:1:mpath-2000b080013002158
mpath21:253:9:L--w:0:1:0:mpath-2000b080015002158
mpath18:253:6:L--w:0:1:1:mpath-2000b080012002158
mpath12:253:1:L--w:0:1:2:mpath-2000b080009002158
#
The above is the i/p and the... (3 Replies)
Discussion started by: ilan
3 Replies
8. SCO
I have a system running SCO OS 5 that has a built-in DVD writer. IS there a way I can write out files to a cd? How can I find a driver? How does it run? Any ideas would be appreciated. (4 Replies)
Discussion started by: zmaster18
4 Replies
9. SCO
hi,
Can any one tell me how to install a CD Writer and write CDs in SCO UNIX5.07.
i have downloaded the CDR tools, and try some other options to write CDs but it is of no use.
i will be very thankfull if any one can help me in this. :confused: :( (1 Reply)
Discussion started by: aafflatoon
1 Replies