06-24-2008
This is not working. PLease advise.
Thanks
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I'm sorry if this has been posted before, but I'm in a big hurry and I need a pretty quick answer: I have to make a project for school which consists of many BASH scripts. At school we have Sun Sparcs. During the laboratory hours I used to open the text editor (in the graphics interface), edit the... (4 Replies)
Discussion started by: MtFR
4 Replies
2. UNIX for Dummies Questions & Answers
hi there guys,
wonder if any gurus can help me out on this one...
try searching the past threads but cant find anything.
i have this huge file but when i use vi to open it it gives me the following error:
<"pmrepserver.txt""/var/tmp/Ex86200" There is not enough space in the file... (7 Replies)
Discussion started by: lweegp
7 Replies
3. Shell Programming and Scripting
Hi,
I need a help in deleting a line matching a particular pattern in a file using shell script without opening the file. The file is a .c/.cpp file. Is it possible?
Thanks (6 Replies)
Discussion started by: naan
6 Replies
4. UNIX for Dummies Questions & Answers
hi guys i am new to UNIX and i am very much excited to learn how it works.. i was very confused with how to start and what book to follow so i went to my lecturer and asked him if he could suggest something. he advised me to get this book
Your UNIX: The Ultimate Guide by "Sumitabha Das"
ISBN:... (4 Replies)
Discussion started by: prabhashkashyap
4 Replies
5. Shell Programming and Scripting
Hi,
Could someone tell me how to delete a particular text inside an existing file without opening the file?
e.g. I have a text file called mytext.txt which contains three lines of text below and I want to delete “ ;” and delete the second line “b ;” including the carriage return.
a ;
b ;
c ;... (12 Replies)
Discussion started by: stevefox
12 Replies
6. Shell Programming and Scripting
Hi Experts,
I have several big size file arround 900 MB. From the file I need to delete some common strings but without opening the file. here is example- in file
<?xml version='1.0' encoding='ISO-8859-1' standalone='no'?>
<LogItems>
<log logid="8423b5ae190810252359350480/1/1/1">
... (6 Replies)
Discussion started by: thepurple
6 Replies
7. Shell Programming and Scripting
Hi,
Iam in a need for a script/function in KSH where I want to read a text file (property file) in block by block. Here is the example:
Heading Name Descripton
Block Block1 Value1 Description
Property Name Value
Property Name Value
Property Name Value
Property Name Value
Property Name... (7 Replies)
Discussion started by: ysreenivas
7 Replies
8. Shell Programming and Scripting
how can i split a file on last record ? say i have a file A with 4 records as follows :
first line
second line
third line
last line
I want to make two files B and C
with contents of B as
first line
second line
third line
and the contents of C as
last line (8 Replies)
Discussion started by: aliyesami
8 Replies
9. Programming
Hello all ,
i need some help asap
i have a program that keeps killing the machine
when i did google searches and 2 days later i ran strace
it seems the programm keeps making a system call to gettimeofday
to i guess increment a counter ?
gettimeofday({1347986584, 464904}, NULL) = 0... (6 Replies)
Discussion started by: NetworkLearning
6 Replies
10. UNIX for Dummies Questions & Answers
I have file called "text". The contents are as below :
aaa
bbb
ccc
ddd
eee
ffff
ddd
hhhh
iiii
I want to read this file without opening and and delete the last line. How can it be done? (4 Replies)
Discussion started by: the_hunter
4 Replies