Search Results

Search: Posts Made By: bhalotias
43,055
Posted By bhalotias
Thanks all of u for ur help....
Thanks all of u for ur help....
43,055
Posted By bhalotias
does anyone have an awk solution to it??
does anyone have an awk solution to it??
43,055
Posted By bhalotias
Add a word at the end of each line in a file
Hi

I want to read a flat file and add a word/value at the end of each line in the file and store the output in a temporary file. How can i do this? Plz help me with this.

Regards,
Saurabh
10,622
Posted By bhalotias
Thank you guys.... I followed this approach...
Thank you guys....

I followed this approach and it worked :)

grep BES_BILLS_RPT_|sed 's/BES\_BILLS\_RPT\_//g'|sed 's/\.csv//g'|sed 's/-/\//g'


Thank you all for ur responses and help.
10,622
Posted By bhalotias
Actually my file name is like ...
Actually my file name is like
JAN_BILS_PRINT_1-01-08.txt

But when i receive the file on later dates (from 10th and later), the file name would be like,
JAN_BILS_PRINT_10-01-08.txt

Therefore...
10,622
Posted By bhalotias
Thanks Murphy. But I am working on ksh...
Thanks Murphy.

But I am working on ksh shell. The substitution doesnt seem to work on ksh.
10,622
Posted By bhalotias
Substring/Instring of a string with datestamp
Hi,

I have just started working on unix today. I want to get the instring of a string (filename).

Eg. JAN_BILS_PRINT_01-01-08.txt

Now i want to extract the datestamp from the file and...
3,068
Posted By bhalotias
Reading filenames with extension .xml
Hi,

I want to write a script to read all the filenames with extension .xml in a directory and pass the name of the file, one by one, to another function.

Please help me out.

Regards....
Showing results 1 to 8 of 8

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