Search Results

Search: Posts Made By: kpddong
5,690
Posted By pravin27
Hi, Remove pipe after sort. my $query =...
Hi,

Remove pipe after sort.

my $query = 'find . -name \*.xls -exec dirname {} \; | sort -u | > list.txt';
system($query);
2,924
Posted By bluescreen
Why don't you use sort -u above and remove uniq ?
Why don't you use sort -u above and remove uniq ?
2,924
Posted By anurag.singh
exec should be better than xargs.
exec should be better than xargs.
5,662
Posted By DGPickett
Simple logic flaws -- test both options every...
Simple logic flaws -- test both options every time, or be careful which is first. You can leave out terms if the possibilities have been pruned. Ever study the karnaugh diagram of 4 bit logic...
6,123
Posted By drl
Hi. Also: -s enables rudimentary switch...
Hi.

Also:
-s enables rudimentary switch parsing for switches on the command
line after the program name but before any filename arguments (or
before an argument of --). Any switch found there...
6,123
Posted By Perderabo
$ $ cat perl_getopt #! /usr/bin/perl -w use...
$
$ cat perl_getopt
#! /usr/bin/perl -w
use Getopt::Std;

our($opt_c, $opt_s, $opt_e);
getopt('c:s:e:');

if (defined($opt_c)) {print "option c is $opt_c \n";}
if (defined($opt_s)) {print...
2,781
Posted By robfwauk
Good spot :) So your probably after ...
Good spot :)

So your probably after


SELECT id, user FROM record WHERE time >= "12:00" AND time <= "12:30";
2,781
Posted By verdepollo
I think you need to add quotes: select user,...
I think you need to add quotes:

select user, host from records where time between "12:00" and "12:30";

But that won't work either since the field "host" does not exist.
Showing results 1 to 8 of 8

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