Search Results

Search: Posts Made By: novice1324
2,794
Posted By novice1324
Thank you Vgersh99!! My apologies. I meant...
Thank you Vgersh99!!

My apologies. I meant $var1 and $var2.

About creation of a subshell, is this behavior specific to linux? I didnt have this problem before. Or is there something I can do...
2,794
Posted By novice1324
Problem with new linux server
Hi all,

We have migrated from a unix solaris server to a linux server. When we run the same pieces of code, they are behaving very differently. Some of the problems I am facing are -

cat...
4,652
Posted By novice1324
Thanks! But, doesn't the command...
Thanks!

But, doesn't the command '#!/bin/ksh' invoke the korn shell? This was one of the reasons I was so surprised when the shell was giving different results on both servers.
4,652
Posted By novice1324
Using $0 and 'Function' Keyword
Hi all,

I had a query on the usage of $0 in shells. I would appreciate any assistance in this.

We moved from a sun solaris server to a linux server. I ran 2 different pieces on these servers...
4,382
Posted By novice1324
Hi, Here is the unsorted Input ...
Hi,

Here is the unsorted Input

2008-04-01 10:55:01|2008-04-01 14:19:42|1|999001000136|DR
2008-04-01 10:55:01|2008-04-01 14:19:42|23|999001000136|DR
2008-04-01 10:55:01|2008-04-01...
4,382
Posted By novice1324
Sort, duplicate removal - Query
Hi All,

I have a problem with the sort and duplicate filter command I am using in one of my scripts. I have a '|' delimited file and want to sort and remove duplicates on the 1,2,15 fields. These...
17,053
Posted By novice1324
Hi Vino, I was mistaken. Sorry about that....
Hi Vino,

I was mistaken. Sorry about that. This works.....

Thanks a lot..!!!
17,053
Posted By novice1324
Thanks Vino for that answer. But, having to...
Thanks Vino for that answer.

But, having to do it twice will replace two consecutive nulls. This means that we have to repeat this operation as many times as the maximum number of consecutive...
17,053
Posted By novice1324
Replacing nulls using sed
Hi,

I am trying to replace nulls with spaces in every record of a '|' delimited file. I used this command -

cat input.dat | sed 's/||/| |/g' > output

But if a space appears twice '| | |' ,...
2,637
Posted By novice1324
Replace multiple columns in a row
Hi,

I am new to this forum and what I am looking for is something similar to what is posted above. But, in my case, I have a file with 58 columns (delimited with '|') and 17 columns may come in...
Showing results 1 to 10 of 10

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