Search Results

Search: Posts Made By: raghu_shekar
1,476
Posted By Scrutinizer
Hi raghu, in awk, if any of the fields ($1, $2...
Hi raghu, in awk, if any of the fields ($1, $2 etc) gets a new value the enitre record (in this case a line) gets recalculated and the output field separator is applied so that it now contains "|"...
8,256
Posted By michaelrozar17
Sure..actually the word ServerName= is saved by...
Sure..actually the word ServerName= is saved by placing it inside the parenthesis i.e \(ServerName=\) and printing it again by calling \1. In general \( \) is used to save a pattern/part of word and...
5,061
Posted By Scrutinizer
You will need to source the script with variables...
You will need to source the script with variables instead of calling it. Use:
. /path/to/script-with-variables
from within the script that calls the Oracle utility.
5,877
Posted By nehashine
If you are using linux environment, insert below...
If you are using linux environment, insert below line in your script dos2unix file

If solaris, then dos2unix file > file2
\mv file2 file
actually this problem usually occurs when you are taking...
5,877
Posted By bartus11
Did you run "dos2unix" on your file?
Did you run "dos2unix" on your file?
3,116
Posted By Scrutinizer
It looks for at least one character that is not a...
It looks for at least one character that is not a '|' ( [^|] ) at the start of the line plus the first '|' and stores it in variable 1 it stores the rest of the line in variable 2. Then it prints...
Forum: Programming 06-29-2010
1,719
Posted By radoulov
cut -d\; -f1,4,6- infile
cut -d\; -f1,4,6- infile
7,060
Posted By pludi
Very wise, not automatically entering commands...
Very wise, not automatically entering commands you've seen on the net in blind faith. Keep to that.

Quick rundown:
# Run the current shell (which has it's name in $0) again, in an clean
#...
Showing results 1 to 8 of 8

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