Search Results

Search: Posts Made By: fastgoon
11,404
Posted By fastgoon
awk string printing
I am trying to print a line using awk printf command. The problem I am having is that when the string has spaces in between, it only prints the word upto the first space.

For example, if my...
3,007
Posted By fastgoon
AWK printing
Hello,
I am trying to write a formatted report into a file using .ksh script and awk. Here is the command I am trying to run

echo "before awk" ${SRC_SCHEMA}
echo | awk '{printf "%-20s",...
5,358
Posted By fastgoon
Trimming a string
Hi,
I am trying to find a script command that will let me trim leading and trailing space from a string. I have coded a SQL Select and sending the output to a file. Later I am parsing the file and...
2,670
Posted By fastgoon
set +o noglob worked
Thanks, the set +o noglob and set -o noglob command worked.
16,974
Posted By fastgoon
Parameter passing in a function
I need to pass a parameter to a function in a script. My parameter is a string. When I display the parameter within my function, I only get the first word from string I pass in.

How can I make the...
21,857
Posted By fastgoon
Passing a string parameter to a function
I need to pass a parameter to a function in a script. My parameter is a string. When I display the parameter within my function, I only get the first word from string I pass in.

How can I make the...
2,670
Posted By fastgoon
shell script help needed
I am trying to query a table having 3 columns, the third column is a field of varchar(1024) with a SQL string in it. I am using cut command to split out the three fields into three variables. I do a...
Showing results 1 to 7 of 7

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