Search Results

Search: Posts Made By: pstanand
3,632
Posted By pstanand
date manipulation
hi buddies,

can you please let me know the solution
3,632
Posted By pstanand
Date manipulation
I'm using the following command to get the file date.
fdate=`ls -l filename|awk -F" " '{print $7}'
echo $fdate


Regards
pstanand
3,632
Posted By pstanand
date manipulation
HI,
I'm comparing my file date with the system date and if both the dates are equal I'm doing some operation. I use two variables for these two dates. I use the following command in my query. if [...
3,086
Posted By pstanand
display filename with date
Hi buddies,
I have a doubt. I want to display filename with date in the following format.Is there any way to do this. Kindly give me the solution.

I want to display the result in the following...
5,384
Posted By pstanand
writing to a csv file
Hi Buddy,

sorry for not giving a clear picture on the query. Please see my file attached. Here i have to find the Row# for each row and then i have to find the values in the double quoutes on each...
5,384
Posted By pstanand
writing to a csv file
Hi buddy,
actually the first line contains the value in the double quotes is one column ,second line goes to second column and similarly it goes on. I don't know how to use the sed. can you please...
5,384
Posted By pstanand
writing to a csv file
Hi buddies i have doubt. I 'm new to unix script and learning. I have a req.
I need to find the values mentioned in the double quoutes of each line and write it into a csv file. How do I handle...
25,629
Posted By pstanand
HI fpmurphy, thanks it is great working fine....
HI fpmurphy,
thanks it is great working fine. Can you please explain me how this works?

Regards
pstanand
25,629
Posted By pstanand
Hi Sanjay, Thank you very much. It works...
Hi Sanjay,

Thank you very much. It works fine. But when I try Jadu code I got the following error.

awk: syntax error near line 1
awk: bailing out near line 1

Can you people pls tell me why...
25,629
Posted By pstanand
alternate lines
Hi,
I'm new to Unix. I want to read the all the lines from a text file and write the alternate lines into another file. Please give me a shell script solution.

file1
-----
one
two
three
four...
Showing results 1 to 10 of 10

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