Search Results

Search: Posts Made By: vfrg
1,476
Posted By vfrg
Thank you so much. I will try out the suggested...
Thank you so much. I will try out the suggested option.

Again again thanks.

Venkat
1,476
Posted By vfrg
Performing aggregation in File
Hi,

I need help in UNIX shell script to handle the following:

I have file called File1.txt which contains data something like below:

LibraryName|BookName|Flag-Indicator|COUNT
...
7,533
Posted By vfrg
Thanks Sanjeev for responding. Paste worked,...
Thanks Sanjeev for responding.
Paste worked, hence did not even try join command.
This is just for learning purpose, can you please share the code with "join". I tried but was not getting the...
7,533
Posted By vfrg
Thanks alot for the code you provided. This...
Thanks alot for the code you provided.
This code worked fine.

Thanks again for your help.

Venkat
7,533
Posted By vfrg
I tried Paste but it is not giving the result as...
I tried Paste but it is not giving the result as expected...

Output File: output.txt
-----------------------
Information_a1:Information_b1:Information_c1...
7,533
Posted By vfrg
Combining columns from multiple files into one single output file
Hi,
I have 3 files with one column value as shown
File: a.txt
------------
Data_a1
Data_a2
File2: b.txt
------------
Data_b1
Data_b2
Data_b3
Data_b4

File3: c.txt
------------
Data_c1...
1,932
Posted By vfrg
Thanks alot for quick help. It helped. ...
Thanks alot for quick help. It helped.

Thanks,
Venkat
1,932
Posted By vfrg
Change the value of variable in a file
Hi Friends,

I have shell script file1.sh which has reference to enviornment file called

Content of filenev.sh


SKIP_FLAG=N
ORACLE_HOME=/u01/oracle/database


My requirement is to...
2,054
Posted By vfrg
Hi Balajesuri/Itkamaraj Thank you very much...
Hi Balajesuri/Itkamaraj

Thank you very much to both of you.

I tried below code and it worked...
finger > t.txt
comp_str=projdev
i=0
while read line
do
xx=`echo $line | grep -i...
2,054
Posted By vfrg
Hi Balajesuri, I tried that one, the result...
Hi Balajesuri,

I tried that one, the result is not coming properly...
i=0
while read get_line
do
echo "$i: Finger Value: ${get_line}"
i=`expr $i + 1`
done < `finger`


b.sh[6]:...
2,054
Posted By vfrg
Hi balajesuri, The finger output is as...
Hi balajesuri,

The finger output is as follows
$ finger
Login Name TTY Idle When Site Info
projdev US DEV projdev p2 Tue 19:13 , Created@03262008
projuser US DEV projuser p3 Tue 19:14 ,...
2,054
Posted By vfrg
Assigning entire to a variable
Hi,

Need help on the below topic.

I am looping finger command and trying to get each line content into a variable. Output of finger command produces more than one line and each line was...
12,004
Posted By vfrg
Email with cc and bcc option
Hi,
I am able to send email from AIX using the following command.
cat email.txt | mail -s "Mail Subject" venkat@gmail.com
Our requirement is send email with cc and bcc option.
We are getting...
2,104
Posted By vfrg
FTP Files should get full permission
Hi All,

Could any one please help me in performing the following?
We have the following folder:

/home/test/proj1
/home/test/proj2
/home/test/proj3

Users from different country places...
5,243
Posted By vfrg
Hi Summer_cherry, This scripts gives the...
Hi Summer_cherry,

This scripts gives the output what is required. I do not have expertise in perl scripts, hence i was not able to proceed to next level. As I said in my original reqest, I need...
5,243
Posted By vfrg
Hi summer_cherry, Thank you very much for...
Hi summer_cherry,

Thank you very much for the code.

I have written small shell scripts using basic commands, hence my expertsie in Unix shell is limited.

Could you please let me know...
5,243
Posted By vfrg
I am sorry for this. Henceforth, I would be more...
I am sorry for this. Henceforth, I would be more careful.

Thanks
Venkat
5,243
Posted By vfrg
Could any one please help in writing script..I am...
Could any one please help in writing script..I am somewhat stuck with this script.

Thanks.
Venkat
5,243
Posted By vfrg
Parse csv file
Hi,

Our requirement is to parse the input file(.csv format). The each column in the file is delimited with comma. We need to take each column and apply some business validation rule.

If data...
5,425
Posted By vfrg
H mac4rfree, Thanks for replying. It is...
H mac4rfree,

Thanks for replying. It is working....

If i have input in my csv file like this

This is," ""a"" test,"" file","for ""validation"" puropse"

Actually the above is 3 fields...
5,425
Posted By vfrg
Extract Columns from file
Hi All,

Could you please help me with following:

I have to parse a .csv file.

For example: If the csv file contains 3 columns, then i have to print the column names. The field separator...
105,245
Posted By vfrg
Hi, I was able to successfully convert the...
Hi,

I was able to successfully convert the file to UTF-8 format using the following command

iconv -f ISO8859-9 -t UTF-8 <input_file> > <output_file>

I still have one issue. We will...
105,245
Posted By vfrg
Hi fpmurphy, I got the following ...
Hi fpmurphy,

I got the following

$iconv -l
ASCII-GR
CNS11643.1986-1
CNS11643.1986-2
GB18030
GBK
IBM-1046
IBM-1124
IBM-1129
IBM-1251
IBM-1252
IBM-1390
IBM-1394
IBM-1399
IBM-850...
105,245
Posted By vfrg
Hi, Thanks for the reply. I have already...
Hi,

Thanks for the reply. I have already handled replacing ^M characters in shell script. The issue with other special character (like rectangle shaped one). This character will be in the first...
105,245
Posted By vfrg
Converting Unicode file to UTF8 format
Hi,

I have a file in my desktop which is a unicode format. After this file is transferred to Unix using FTP, we are seeing some special character (like rectangle box type) at the first line. The...
Showing results 1 to 25 of 25

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