Search Results

Search: Posts Made By: Torhong
1,453
Posted By Torhong
Using shell to generate case statement
Hi Gurus,

I have a very weird requirement and have no clue to resolve the issue. please help me get out this difficulty
below two tables, table1 contains the column name. D means this column used...
2,449
Posted By Torhong
Hi RudiC, thanks for help. I tried "/",...
Hi RudiC,
thanks for help.

I tried "/", it failed with below error message:

Thanks.

nawk: syntax error at source line 10
context is
print CT[IDX]$3 > >>> ...
2,449
Posted By Torhong
thank you Don Cragun. this is exactly I want. ...
thank you Don Cragun. this is exactly I want.
:b::b::b:

---------- Post updated 03-21-17 at 12:38 PM ---------- Previous update was 03-20-17 at 09:48 PM ----------



Hi Don Cragun,

the...
2,449
Posted By Torhong
Hi Rudic, I modified the code you provided,...
Hi Rudic,

I modified the code you provided, it works fine
I tried to add one more logic, if zone and cd doesn't exist in file2, create a error file. I got error. would you please take a look....
2,449
Posted By Torhong
Thanks RudiC. you are right, the second...
Thanks RudiC.

you are right, the second loop is very inefficient. is there any way to fix it without using awk as I am not familiar with awk.

thanks
2,037
Posted By Torhong
Insert one charactor multiple times in VI
Hi Gurus,

I forgot the command which can insert one character multiple times. for example: I need 50 "#"
#############...

I used the command before, it is very convenient.

...
2,449
Posted By Torhong
thanks Guys, the requirement changed a...
thanks Guys,

the requirement changed a little, we will read from file1, and use field1 and field2 find record in file2 and get filename and file content from file2.

I tried to write with while...
2,449
Posted By Torhong
Hi Don, I updated the file content. the...
Hi Don,

I updated the file content. the first line is field name for reference. my os is solaris. shell is ksh.

this is not homework. the reason I want to use while loop is I am not...
2,449
Posted By Torhong
How to create file and file content based existing information?
Hi Gurus,
I am SQL developer and new unix user.
I need to create some file and file content based on information in two files.

I have one file contains basic information below file1 and another...
Showing results 1 to 9 of 9

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