Search Results

Search: Posts Made By: vkumbhakarna
1,286
Posted By vkumbhakarna
You can try the following in your script: ...
You can try the following in your script:
typeset -L username=`eval whoami`
echo user name is $username
1,904
Posted By vkumbhakarna
Thank you for all your replies. As advised by...
Thank you for all your replies. As advised by RudiC, when I defined the string variables header_str and output_str as global variable I was very well able to resolve them outside of the piped...
1,904
Posted By vkumbhakarna
How to append values to a string?
Hi,

Requesting some help with a problem I am facing with string function in UNIX. I wish to create 2 string variables: 1st header string containing output_1, output_2, .. , output_<n> and 2nd...
6,092
Posted By vkumbhakarna
Thank you for your replies. I will ensure I use...
Thank you for your replies. I will ensure I use code tags when I write code henceforth.
1,750
Posted By vkumbhakarna
Determine uniqueness of pid to name output files
Hi,

We've a process on AIX UNIX server which is executed by multiple uses during a day. I wish to create a log file for every time the process is executed. I wish to know how unique are PID(s) on...
6,092
Posted By vkumbhakarna
Create csv with output filenames and file size
Hello All,

Here is seeking a bit of help in trying to solve a problem.

I am required to create a csv file as shown below:
output.csv ->
output_1,output_2,output_3,...,output_<N>...
10,503
Posted By vkumbhakarna
Thanks a lot for the immediate response Sir yoda....
Thanks a lot for the immediate response Sir yoda. May the force be with you. :)

I am new to unix shell scripting, can you please help explain the code a little bit.
10,503
Posted By vkumbhakarna
Creating a csv file with header in UNIX
I have a flat file that contains dynamic list of variables like
a=1
b=2
c=3
.
..
z=26

I need to convert the above into a csv file having the format below:
a,b,c,..,z
1,2,3,..,26

Please...
13,187
Posted By vkumbhakarna
Hi Era, That was amazing. Using the OD...
Hi Era,

That was amazing. Using the OD command i did get the octal character the value was \222 and it worked just fine. And yes the problem faced in vi was also the same as that you had...
13,187
Posted By vkumbhakarna
I tried FTPing in the binary format by using type...
I tried FTPing in the binary format by using type binary on ftp prompt but still the file is being FTPed with the junk character. Also after executing the command :1,$s/\^Ò//gp in vi editor, i am...
13,187
Posted By vkumbhakarna
The dos2unix command isn't there in the UNIX...
The dos2unix command isn't there in the UNIX version I am working upon. Nevertheless thanks for the help.
13,187
Posted By vkumbhakarna
How to remove junk (^Ò) character while FTPing
Hi All,

I have been trying to FTP some data files from Windows directory to a UNIX server. The txt file in the windows contails the following data:
"111~XYZ~1~Contact person’s phone...
Showing results 1 to 12 of 12

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