Search Results

Search: Posts Made By: mac4rfree
1,526
Posted By guruprasadpr
Hi awk -F"="...
Hi

awk -F"=" '/BusinessUnit|Country/{$2=q$2q}1' q="'" OFS="=" file

Guru.
4,436
Posted By agama
mailx -a file1 -a file2 -s "subject" user@domain...
mailx -a file1 -a file2 -s "subject" user@domain <message-file


Attaches both files to the mail with what was in message-file sent as the main body. Your mileage might vary, but it seems to work...
4,436
Posted By michaelrozar17
I guess this kind of output is something related...
I guess this kind of output is something related to OS. What OS your in..? Try mailx's -a option to send attachment if available
1,541
Posted By balajesuri
sed 's/\([^=]*\)=\(.*\)/-param \1='\''\2'\''/'...
sed 's/\([^=]*\)=\(.*\)/-param \1='\''\2'\''/' inputfile | paste -d" " -s
2,350
Posted By felipe.vinturin
I generally work with both solutions: ----->...
I generally work with both solutions:
-----> Use: "WHENEVER SQLERROR EXIT 1" (as commented by Carlo)
-----> Redirect SQLPLus' output to a file and validate the error.
-----> Also use: "sqlplus -S...
1,054
Posted By jayan_jay
Missed ; Modified code .. if [ $SrcFileCnt...
Missed ; Modified code ..

if [ $SrcFileCnt -eq $CtrlFileCnt ] ; then
3,442
Posted By yazu
nawk -F, ' NR == FNR { a[$1]=$2 "," $3 "," $4...
nawk -F, '
NR == FNR { a[$1]=$2 "," $3 "," $4 "," $5 }
NR != FNR && $4 in a { print $0 "," a[$4]}
NR != FNR && !($4 in a) { print $0 ",,,," }
' mac_discount.txt mac_trans.txt
2,674
Posted By ygemici
Try this.. #!/bin/ksh # Help message ...
Try this..

#!/bin/ksh
# Help message
#********************************************************************
usage() {
print "Usage: $0 -i INP_FILE -o RPUIT_FILE"
print "FTPing file to...
Showing results 1 to 8 of 8

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