Visit Our UNIX and Linux User Community

Search Results

Search: Posts Made By: cumeh1624
3,842
Posted By cumeh1624
I know how to use rsync to sync up remote...
I know how to use rsync to sync up remote destination folder but my requirement is to compare files in local directory to files in remote directory and copy the difference to another directory in...
3,842
Posted By cumeh1624
How can you use rsync to compare local directory...
How can you use rsync to compare local directory and remote directory and then copy the difference to a new directory in remote serve?

E.g I can't get it to work with this command.


rsync...
3,842
Posted By cumeh1624
How do you compare two folders and copy the difference to a third folder in a remote server?
How do you compare one local folder and a remote folder and copy the difference to a third folder in a remote folder.e.g.


Folder A -- Is in a remote server and it has the following files
...
1,210
Posted By cumeh1624
How to go to up directory from a given directory in Perl?
I have a Perl script that has a variable for a directory path and I want to define another variable that will navigate to up directory from the given directory path.

This is the given directory...
1,585
Posted By cumeh1624
Array Element
This question is for someone that's more familiar with Array Element.

I need to know if the maximum array element that can be assigned is 1024 and if its so, Is there a workaround solution when...
1,641
Posted By cumeh1624
How to replace colon in HH:MI:SS to hypen?
I have a file that contains timestamp in some of the rows in the file and the field separator is colon and some of the rows have numerical values, timestamp and characters with colon as the field...
Forum: AIX 08-06-2014
1,333
Posted By cumeh1624
Adding CR to ascii data file generated on AIX platform and will be transmitted to Windows OS
I desperately need help converting ascii data file generated on AIX platform that contains dollar sign ($) at the end of each line in the data file as shown below.
...
2,338
Posted By cumeh1624
I created a sed command to remove the field's...
I created a sed command to remove the field's space and use the previous code to join next lines to previous code when NF is less than one and that took care of.
sed 's/[[:space:]]\{2,\}\«/«/g'...
2,338
Posted By cumeh1624
How to remove fields space and append next line to previous line.?
awk 'BEGIN{FS = "«"}
NR == 1 {p = $0; next}
NF > 1 {print p; p = $0}
NF <= 1 {p = (p " " $0)}
END {print p}' input.txt > output.txt

This is what the input data file looks like with broken lines...
2,812
Posted By cumeh1624
This what the input data file rows look like ...
This what the input data file rows look like

09 1598760 ÁchngeÁ 03773634ÁdgedfrÁ2014 04 21 00 00 00PMÁ hdgete09Á
...
2,812
Posted By cumeh1624
Hi SriniShoo, Using that script I want to...
Hi SriniShoo,

Using that script I want to be able to remove spaces in the fields using delimiter cedilla to detect each fields in the data file.

Thanks,
cumeh1624
2,812
Posted By cumeh1624
Hi Don, That's exactly what the code looks like...
Hi Don,
That's exactly what the code looks like and all I'm looking for is to reduce the completion time, I didn't mention the removal of new line, squeezing blanks and control M character because...
2,812
Posted By cumeh1624
The command we had in the script that performs...
The command we had in the script that performs the next line append to previous line takes almost 4 hrs because of the while loop and for performance reason is why we are looking to use a faster...
2,812
Posted By cumeh1624
Hi Srinishoo, The script works fine but...
Hi Srinishoo,

The script works fine but there is a limitation to it. I tested it with 1.7 million rows in a data file and about 10,471 rows with numerical values and some few characters with 5 to...
2,812
Posted By cumeh1624
It means the very line has one field without ...
It means the very line has one field without cedilla as a field seperator or it has a blank line.
2,812
Posted By cumeh1624
Append next line to previous lines when NF is less than 0
Hi All,

This is very urgent, I've a data file with 1.7 millions rows in the file and the delimiter is cedilla and I need to format the data in such a way that if the NF in the next row is less...
Showing results 1 to 16 of 16

 

Featured Tech Videos

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