Search Results

Search: Posts Made By: raghu_shekar
1,482
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,268
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,065
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,897
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,897
Posted By bartus11
Did you run "dos2unix" on your file?
Did you run "dos2unix" on your file?
3,117
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,723
Posted By radoulov
cut -d\; -f1,4,6- infile
cut -d\; -f1,4,6- infile
7,061
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 02:02 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy