Search Results

Search: Posts Made By: jnetnix
2,146
Posted By jnetnix
Ok....this is probably a lot more work that is...
Ok....this is probably a lot more work that is needed....but does work! :) I just piped the data into Perl and processed each character at a time adding a space if the position existed in the hash.
...
7,333
Posted By jnetnix
Grep if right flavor
If your grep supports -A (--after-context) you could try this:

grep -A 2 "sequnce_2" infile


My Ubuntu distro has it but I know I had to grab it for my Solaris boxes.
2,218
Posted By jnetnix
I'm not sure if this helps. I did a little...
I'm not sure if this helps. I did a little command line sample for you if I understood correctly.

Duplicates your data?

jnetnix@nix:~$ cat /tmp/test.txt
.PCI\Image test\Batch::I0Main
...
2,376
Posted By jnetnix
Yea, sort of odd how forgetting to "chomp" will...
Yea, sort of odd how forgetting to "chomp" will "bite" you. ;0) Badabum. I been there lots myself.

-J
2,376
Posted By jnetnix
If it works fine when you remove the test for...
If it works fine when you remove the test for $proc the first thing that comes to mind is something is inside the scalar that you're not anticipating...like a newline or control character.

Try...
7,885
Posted By jnetnix
If I understand correctly I think you're pretty...
If I understand correctly I think you're pretty much there. You might want to remove the -e from your rsync which would prevent files from being updated if they did not already exist. You can also...
36,855
Posted By jnetnix
Upgrade your CoreUtils?
You may want to check out SunFreeware (http://www.sunfreeware.com) and try coreutils. I have not tried but very possible this will give you the opts you want.

Good Luck!
J
7,885
Posted By jnetnix
I'm not sure I understood the objective. - Do...
I'm not sure I understood the objective.
- Do you want to push only files that have been updated?
You're already doing this with --archive..since it assumes --times. So only those files that are...
Showing results 1 to 8 of 8

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