Search Results

Search: Posts Made By: doitnow
2,128
Posted By doitnow
it's in perl
it's in perl
2,128
Posted By doitnow
awk not working in script
Hi All,

i'm trying awk commnad to read only file names with the help of below command :-
ls -l tmp*.txt | awk { 'print $9' } | head -1

The command is working fine :o on command line, but when...
2,418
Posted By doitnow
Pattern matching for file
Hi All,

I'm new to perl,
My requirement is to check if particular file exists.
e.g. filename.txt, filename1.txt, filename2.txt etc

I tried the below code:-

my $var1 = "filename.txt"

if...
Showing results 1 to 3 of 3

 
All times are GMT -4. The time now is 03:50 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy