Search Results

Search: Posts Made By: brainyoung
21,422
Posted By brainyoung
since you know the timestamp of a file already a...
since you know the timestamp of a file already a simple grep on ls should do for you.
assuming 08:53 is the time
ls -lrt | grep '08:53' | awk '{print $9}'
6,130
Posted By brainyoung
Dsarvan, Split & process,we process few GB of...
Dsarvan,
Split & process,we process few GB of file through AWK.
1.split them based lines (approximate nr)
2.process the the files in parallel ( if you server is having decent RAM & CPU's)...
2,163
Posted By brainyoung
try something on these lines, below prints 3rd...
try something on these lines, below prints 3rd coulmn of line where MEM is found & 4th column in the line where it finds -/+.

awk '/Mem/ {print $3} /\-\/\+/ {print $4}' fílename
10,696
Posted By brainyoung
Overriding PATH
Hello,

I'm using Sun solaris .

I'm trying to override the environmental variable in my script, however when I execute the script, the PATH whatever being set in .profile is taking precedence.
...
1,564
Posted By brainyoung
Thanks for the idea Franklin !!, I shall enhance...
Thanks for the idea Franklin !!, I shall enhance this to suite my requirment
1,564
Posted By brainyoung
Hi fmurphy, If a record spans to more than 2...
Hi fmurphy,

If a record spans to more than 2 lines then above isn't working. output is kind of garbled.I've managed to handle in my application. However, I'm curious to know if it's also feasible...
1,564
Posted By brainyoung
ah, it's an RTFM(Read The Manual First) problem ...
ah, it's an RTFM(Read The Manual First) problem :)

Using D the lines already read being deleted from the buffer. Thanks anyway

Since 'N' is going to append only the next line,so if a line...
1,564
Posted By brainyoung
Thanks a ton !! May Í know the reason why 'D'...
Thanks a ton !!

May Í know the reason why 'D' is used in the command?
1,564
Posted By brainyoung
SED question
Hello there,

I've seen quite a few post on SED to handle newline, but I tried few things doesn't seem to work.

I was able to replace any tex tto newline, however viceversa (new line on Solaris...
9,388
Posted By brainyoung
Thanks Tytalus !!
Thanks Tytalus !!
9,388
Posted By brainyoung
Hi, To be more precise, all the fields are...
Hi,

To be more precise, all the fields are double quoted and delimited by semi colon ;

something like:
"abc";"def";"ghi";"kl;mn;op" ;"qrst";"uv";"w";"xyz";

I've preprocessed the files by...
9,388
Posted By brainyoung
Escaping specific character in awk
Hello there,

I have a bit of dirty delimited file, I mentioned dirty because, the delimiter can also appear in wrong positions. However, one uniqueness of this file is
whenever the delimiter...
Showing results 1 to 12 of 12

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