Search Results

Search: Posts Made By: iamnoone
7,558
Posted By itkamaraj
ext_sta=`sqlplus -s ${Connstr} <<eof set...
ext_sta=`sqlplus -s ${Connstr} <<eof
set heading off;
set pagesize 0;
set feedback off;
set serveroutput on;
execute EDW_MEM_KEY_UPDATE ;
quit;
eof`
46,343
Posted By 98_1LE
This code was posted here by someone else to...
This code was posted here by someone else to determine yesterday:
#!/usr/bin/ksh
date '+%m %d %Y' |
{
read MONTH DAY YEAR
DAY=`expr "$DAY" - 1`
case "$DAY" in
0)
...
2,790
Posted By harish612
Amit, You can also try with below code But...
Amit,
You can also try with below code
But this will search the 3rdjuly.txt for each line of the 4thjuly.txt

For eg :
Even if the 4thjuly.txt line 2 and 3rdjuly.txt line 2 are not same but...
2,790
Posted By harish612
Amit, Please check below.I have take the input...
Amit,
Please check below.I have take the input 3rdjuly.txt and 4thjuly.txt
as per the your very first post
The results are same as you are expecting

Input:

cat 3rdjuly.txt...
2,790
Posted By alister
That will suppress duplicate records within 4. ...
That will suppress duplicate records within 4. This could be a problem if one of the new lines in 4 is identical to an older line in 3 and 4.
2,790
Posted By ltomuno
awk '!($0 in a){a[$0];if(FILENAME=="4")print}' 3...
awk '!($0 in a){a[$0];if(FILENAME=="4")print}' 3 4 > new
12,841
Posted By Shell_Life
Krishna, One important thing to remember is the...
Krishna,
One important thing to remember is the difference between
single ">" (creates a new file) and double ">>" (creates the file
if it does not exists, if it exists, appends to it).
5,826
Posted By alister
Use the [:cntrl:] character class with any tool...
Use the [:cntrl:] character class with any tool that supports regular expressions.

Regards,
Alister
5,826
Posted By getmmg
Try this Insert ^M by using ^v and ^M perl...
Try this Insert ^M by using ^v and ^M

perl -0ne 'print "Control Chars found in $ARGV" if /^M/g' txt.txt
1,065
Posted By aigles
You can do something like that : ...
You can do something like that :
extract_date=$( echo ${file_name} | \
nawk -F '[_.\-]' '
/^mireport/ { printf "%s-%s-%s", substr($2,5,2), substr($2,7,2),...
Showing results 1 to 10 of 10

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