Search Results

Search: Posts Made By: smc3
1,684
Posted By smc3
File formating question.
Hi,

I have a file with only data 1 row:

AA#?BB#?CC#?DD


Assume '#?' is the delimiter, i want the output in another file to be:

AA
BB
CC
DD

Pls let me know if this is possible by...
1,631
Posted By smc3
FTP file question.
Hi,

In my Shell script I am Ftp'ing to another server and putting a file.

How can i retain the same permission while I put the file?
Or
Can I change the permission to 777 once the put is...
12,820
Posted By smc3
Thanks!
Thanks!
12,820
Posted By smc3
Header is always the 1st row.
Header is always the 1st row.
12,820
Posted By smc3
Line Count and Append it to the end of the file.
Hi,

I want to get a Line count of a file and append that at the end of the file. The Line count should not include the Headers :

------------------
COL1,COL2,COL3
123,abc,011
111,abd,0212...
9,859
Posted By smc3
How to check the FTP Status?
Hi,

I wrote a script that is generating a file and then i have to ftp this file on another server. For this i am using mput to put the file.

How can i make sure that the file was ftp'd...
18,945
Posted By smc3
Print starting 3rd line until end of the file.
Hi,

I want to Print starting 3rd line until end of the file. Pls let me know the command.

Thanks in advance.
28,992
Posted By smc3
This is just printing the 2nd line of the file. ...
This is just printing the 2nd line of the file.

Actually, I want to get the count of rows in the file starting the 2nd line.


Thanks.
28,992
Posted By smc3
Get the line count from 2nd line of the file ?
Hi,

I want to get the line count of the file from the 2nd line of the file ? The first line is header so want to skip that.

Thanks.
1,790
Posted By smc3
Thanks it worked.
Thanks it worked.
1,790
Posted By smc3
This is showing my output like: ...
This is showing my output like:

NYCCMS97KJ931, , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
, , , , ,...
1,790
Posted By smc3
Remove spaces between charc and replace it with ','.
Hi,

Below is my output file: (The below line has multiple spaces bet charc and I want to replace spaces with "," only for the first line)

NYCCMS97KJ931 ...
Showing results 1 to 12 of 12

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