Search Results

Search: Posts Made By: Kesavan
Forum: Programming 07-11-2013
6,808
Posted By alister
rm uses the unlink system call to "delete" a...
rm uses the unlink system call to "delete" a file. The unlink(2) manual page usually documents the behavior which Don described.

If you also wanted to watch for replacement, you could record the...
Forum: Programming 07-11-2013
6,808
Posted By Don Cragun
The file no longer has any links in the...
The file no longer has any links in the filesystem, but the file still exists until your application closes the file. (Note that exiting the process closes the file even if you don't explicitly call...
2,561
Posted By MadeInGermany
I am not sure if this is correct: sed -n...
I am not sure if this is correct:
sed -n '/^\.\.\.\./!H; /^\.\.\.\./{x; /stopped/d; /date.*13\/12\/2012/d; p;}' example
2,561
Posted By Scrutinizer
Perhaps you mean this: $ awk 'p{p=p RS $0}...
Perhaps you mean this:
$ awk 'p{p=p RS $0} /\.\.\.\./ {if(p){ if(p!~s && p!~/stop/)print p; p=x}else {p=$0}}' s="13.12.2012" file
................................server...
4,324
Posted By Scrutinizer
It looks for 0 or more...
It looks for 0 or more characters-that-are-not-a-double-quote in front of a double quote. The zero or more characters-that-are-not-a-double-quote that follow are in parentheses, so they are group 1....
Showing results 1 to 5 of 5

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