Search Results

Search: Posts Made By: boopathyvasagam
2,362
Posted By ctsgnb
... since you only look $1 you don't need to set...
... since you only look $1 you don't need to set complicated -F delimiter such as '\\|\\^' or "\\\|\\\^"
awk -F"|" '{print$1}' test_dlim.csv
2,362
Posted By anurag.singh
awk -F '\\|\\^' '{print $1}' test_dlim.csv
awk -F '\\|\\^' '{print $1}' test_dlim.csv
1,474
Posted By fpmurphy
Another solution which does not require the use...
Another solution which does not require the use of awk is

wordc=`wc -l < $file_path`

If your shell supports it the more modern syntax is:

wordc=$(wc -l < $file_path)
1,474
Posted By methyl
Please post the exact and complete script (within...
Please post the exact and complete script (within code tags) without anything else that may have been on the screen at the time.


One potential problem is with this line, but the output posted...
17,058
Posted By pravin27
Hi, must be space between echo and "" ...
Hi,

must be space between echo and ""

else
echo "pass a valid parameter to shell"
echo "1 for INSERT into bckup_marc_parameter_lookup"
echo "2 for DELETE/INSERT into...
17,058
Posted By pravin27
remove space before END a=$1 if [ $a -eq 1...
remove space before END

a=$1
if [ $a -eq 1 ]
then
sqlplus -s prospect_stg/prospect_stg@mdmpt <<END
insert into bckup_marc_parameter_lookup select * from...
17,058
Posted By vgersh99
with line leading TABs: sqlplus -s...
with line leading TABs:

sqlplus -s prospect_stg/prospect_stg@mdmpt <<-END
prospect.marc_parameter_lookup;
commit;
exit;
...
Showing results 1 to 7 of 7

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