#!/usr/bin/perl # I have a piece like this that i cant get right... # # if i get a filename like this - $count contains a two # digit number that is incrimented throughout the program # to process the next file $tempfile=`ls -l |awk '{ print $9 }' |grep $count` ; # # say the $tempfile is something like # nov_11th_word_txt.txt # and i just wanted to strip the '.txt' off it ...? what do i do? point me to the light :) DerrickM
In reply to thanks, i'm new. rtfm right? :) by derrickm
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |