RE: Remove a line

2001-12-19 Thread Prasanthi Tenneti
7;and ends with ']'. Pls help me. thank you. cheers, prasanthi. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Jon Molin Sent: 19 December, 2001 15:37 To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: Remove a line Prasanthi Tenneti wrot

Remove a line

2001-12-19 Thread Prasanthi Tenneti
hi, how to remove a line from a file? pls help me. thank you. prasanthi. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

adding a word

2001-11-26 Thread Prasanthi Tenneti
hi, I want to add a word at each end of the line of a file. my file is like this packet1.rpm packet2.rpm packet3.rpm packet4.rpm I want to add 'Node' word at the end of each line. So it should be like this packet1.rpm node packet2.rpm node packet3.rpm node packet4.rpm node pls help me. than

RPM's

2001-11-21 Thread Prasanthi Tenneti
HI, How to check dependency in RPM packages? I heard that rpm --test is the command for it. But it failed in my caase. br, prasanthi. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Pattern matching

2001-11-21 Thread Prasanthi Tenneti
Hi, Iam unable to debug this code. pls help me. here is the code : open(FILE,"build.txt") ||die "cannot open \n"; print "select which build you want to enter\n"; $build=; while() { if(/$build/) { print "you selected $build\n"; #here it shou

RE: pattern matching

2001-11-19 Thread Prasanthi Tenneti
1 rpm_1; rpm_2; qwe_3; build2 qwe-1; asd_2; asd_3; -Original Message- From: Prasanthi Tenneti [mailto:[EMAIL PROTECTED]] Sent: 18 November, 2001 12:43 To: [EMAIL PROTECTED] Subject: pattern matching Hi, Iam a beginner in perl.I have one question, Iam trying to write one prog,in which i have to s

pattern matching

2001-11-18 Thread Prasanthi Tenneti
Hi, Iam a beginner in perl.I have one question, Iam trying to write one prog,in which i have to search for one word in a file, If I found that word,print next 4 lines. PLs help me,how to write code. cheers, prasa. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [E

arrays

2001-10-22 Thread prasanthi tenneti
Hi, In my prog ,I have 6 different arrays.And all first elemnts should do something.ANd all 2nd elements in arrays should do something and so on . Iam unable to write code in perl for this.PLs help me. br, pt. Make a difference, help support the relief efforts in the U.S. http://clubs.lyco