Search Results

Search: Posts Made By: mmarino
42,997
Posted By mmarino
Thanks vino and grasper! It is in position 11,...
Thanks vino and grasper! It is in position 11, the first 5 characters are spaces so it looks like it's in position 5.
The sed solutions looks a lot more complicated to me. I figured I had to use $0...
42,997
Posted By mmarino
awk insert character in the middle of a line
I'm trying to insert a single character at position 11 in everyline of a file.
My input file looks like this:
456781 ~Y~12345
456782 ~N~12300
and I want my output to look like this:
...
2,192
Posted By mmarino
I got it to work! The problem is that I was...
I got it to work! The problem is that I was trying to read/write into a directory that is out of my cgi-bin path, and I guess that makes them unreachable to php. I also didn't have all my permission...
2,192
Posted By mmarino
no, it dies immediately... I'm thinking it might...
no, it dies immediately... I'm thinking it might be a permissions problem, I'll post back in a few.
Thanks :)
2,192
Posted By mmarino
cpio in shell called from php
I have a php program that calls a shell script, this part works fine and most of the commands work. However, I have a cpio command in the shell script, and for some reason this doesn't work. If I...
2,011
Posted By mmarino
Thanks! That's what I needed :)
Thanks! That's what I needed :)
2,011
Posted By mmarino
Check that 2 directories are the same
I need to make a copy of a directory keeping ownership, dates and links for all files intact. For that I'm using tar. Then I have to verify that the new directory and the old one are exactly the same...
Showing results 1 to 7 of 7

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