Search Results

Search: Posts Made By: Balasankar
8,870
Posted By Balasankar
Akshay thanks for quick reply. Isn't...
Akshay thanks for quick reply.

Isn't possibe to decare prototype kind of statement as we do in C++ ?

Because the code I have posted should be as it is. I can not put the functions before...
8,870
Posted By Balasankar
Function prototype declaration
Hi All,

I have the script as below

#!bin/bash
let k=9
if [ $k -eq 9 ]
then
echo "Start"
Hello
echo "End"
else
echo "failed"
fi
function Hello() {
echo "hello !!!!"
}


I got...
1,243
Posted By Balasankar
I would like to link the files which are...
I would like to link the files which are available in the source location when it arrives doesn't matter. Once the file available in the source location it should be linked to the specified...
1,243
Posted By Balasankar
Linking Automation
Hi,
How to link the files automatically in linux on daily basis ?

For example :
I have file abc.20130911.txt

ln -s source/ abc.20130911.txt dest/abc.20130911.txt
But in my machine files...
Forum: Web Development 08-31-2013
1,726
Posted By Balasankar
Web Application creation on UNIX
Hi,

I would like to create an application with HTML front end in Unix.

I am working on enterprise Unix server, so I could not install any add ons or software in my machine. but still i have...
1,744
Posted By Balasankar
fileStreamLoad=""ab.csv","bc.csv","cd.csv","de.csv...
fileStreamLoad=""ab.csv","bc.csv","cd.csv","de.csv","ef.csv","fg.csv"";
fileStreamAssign=($fileStreamLoad);
set count=2
echo "File carried list after 1st loop "${fileStreamAssiagnInit[@]}""...
1,744
Posted By Balasankar
Array Count and Array Copy help
Hi all,

I have the code as below "

echo "File carried list after 1st loop "${fileStreamAssiagnInit[@]}""


and I have the out put for the above code as below :


Output : File carried...
1,403
Posted By Balasankar
List Directory names which have the file
Hi All,

Can any one help me to list out the directory names which contain the specified file.
See for example

File name : file.201307014.LKT
Have the directory structure as below.
...
21,603
Posted By Balasankar
My system has only MS excel 2003,I am not...
My system has only MS excel 2003,I am not supposed to install any utilities on the machine.If you could provide any script which can read cell by cell and create pdf that would be great thanks.
8,739
Posted By Balasankar
Thanks a lot for your explanation !!! It...
Thanks a lot for your explanation !!!

It works fine!!!
8,739
Posted By Balasankar
Dear Bartus, Could you please explain your...
Dear Bartus,

Could you please explain your code for me ???

awk 'NR==1{$(NF+1)="col 6"}NR>1{x=$NF;sub(".*\\.","",x);$(NF+1)=x}1' file.txt > output.txt
...
8,739
Posted By Balasankar
Grep command inside awk
Hi,

I would like to use grep command inside awk.

Here is my requirement below :

file.txt
col1 col2 col3 col 4 col 5
wrxwrx 124 jun 3 Sensex.EMEA
wrxwrx 120 jun 4 Emex.US
wrxwrx 130...
21,603
Posted By Balasankar
Hi Thanks for your quick response My Server...
Hi Thanks for your quick response

My Server is not having the Universal Office Converter (unoconv).

It's not supporting the unoconv command as it's not having the pakages.

Could you...
21,603
Posted By Balasankar
Convert excel file to PDF file using shell script
Hi All,

Is it possible to convert the excel file to PDF file(Without loosing any format) using unix shell scripting ??? If yes

Kindly help me on the code

Thanks in advance!!!
1,957
Posted By Balasankar
File creation time in UNIX
Hi All,

Can any one help how to long list today's files in unix.i.e files which are have been created today should be able to "ls -ltr" .I should be able to apply the "ls -ltr" command on today's...
73,623
Posted By Balasankar
Thanks for your quick response Pikk But her...
Thanks for your quick response Pikk

But her the out put is going in to single column in excel,i need each word should place in each cell of the excel say in A1 cell Column1 and B1 column2...
73,623
Posted By Balasankar
Dear Rudic I have tried below code : ...
Dear Rudic

I have tried below code :

ls -ltr > Inputdata.txt
awk '{print $6,$7,$8,$9}' OFS="|" Inputdata.txt > OutputObatained.xls

Input data : Inputdata.txt

total 0
drwxrwxrwx 1...
73,623
Posted By Balasankar
Thanks Rudic and scrutinizer for quick response. ...
Thanks Rudic and scrutinizer for quick response.
Actually i want to export the each file creation date and time to a static files.i.e the existed excel file will have the data already and the date...
73,623
Posted By Balasankar
How to write text file data to excel using UNIX shell script?
Hi All,
I have the requirement in unix shell script.
I want to write the "ls -ltr" command out put to excel file as below.

Input :text file data :

drwxr-xr-x 5 root root 4096 Oct 2 12:26...
Showing results 1 to 19 of 19

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