Question!! number of line....

2001-12-28 Thread Mark Mclogan
How I can know in that I number of line finds a word in a text file?. For example, a file "file.txt" contains the following list: Chocolate Cake Cheese Apple orange melon lemon How I can know in that line number is the Apple word? Over MMClogan __

Thank's everybodyRE: count the number of characters

2001-12-28 Thread Mark Mclogan
> >if ( length($variable) < 8 ) { > # > # less than 8 characters, put what you want here > # > } > >-Original Message- >From: Mark Mclogan [mailto:[EMAIL PROTECTED]] >Sent: Friday, December 28, 2001 10:31 >To: [EMAIL PROT

count the number of characters

2001-12-28 Thread Mark Mclogan
Hi! question. I get a variable of a web form but I need that this variable has like minimum 8 characters as I can count the number of characters of a variable? Thank's Over Mark Mclogan _ Chat with friends online, tr

browser commands....

2001-12-19 Thread Mark Mclogan
Hi! again. As I can insert browser commands in script in Perl. For example, if I want to return to my previous web page (back) Thanks all! _ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/su

Alphabetically...

2001-12-17 Thread Mark Mclogan
Hi! again. Since I can make alphabetically to print the lines of a text file in a page Web. _ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx -- To unsubscribe, e-mai

Deleting lines of a file

2001-12-12 Thread Mark Mclogan
Hi every body I want delete some lines of a file I desire to erase the lines that contain the word " home " since I can make to eliminate these lines in the text if I have this word content in a variable $var Thanks all Over Ma

Deleting a line

2001-12-07 Thread Mark Mclogan
Hi every body! I don't know how i can delete a line of a file. Some body know? Thnk's _ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional com

Deleting a line

2001-12-07 Thread Mark Mclogan
Hi everybody! somebody know how i can delete a line of a text file? i'm tryng some like this /^line1/d but i don't know the sintxs to execute some like this and i don't know if between "/" can be a variable ($_) Thak's all _