Search Results

Search: Posts Made By: m_kapur83
3,883
Posted By m_kapur83
try this... awk '{if ( $0 != "") print $0...
try this...

awk '{if ( $0 != "") print $0 "/alpha.jpg"}' file
7,490
Posted By m_kapur83
y dont u try .. ls -a *.edf > output
y dont u try ..
ls -a *.edf > output
5,017
Posted By m_kapur83
try out... $ echo "Status: 0000" | egrep...
try out...
$ echo "Status: 0000" | egrep "\bStatus: *([0]+)";
Status: 0000

gives me the correct output..as proposed by scott above....
3,615
Posted By m_kapur83
sed -ne '/not found/p' fileA >> fileB
sed -ne '/not found/p' fileA >> fileB
2,557
Posted By m_kapur83
If you want to do it thru ur perl script one of...
If you want to do it thru ur perl script one of the following methods may work :

1) system("grep "PANIC" test.out > /tmp/PANIC");
2) `grep "PANIC" test.out > /tmp/PANIC`
3,615
Posted By m_kapur83
sed -e 'a\ \ ' fileA >> fileB Try this...
sed -e 'a\
\
' fileA >> fileB

Try this out..
9,061
Posted By m_kapur83
try this sed -e...
try this


sed -e 's/\<Virtualhost[^$]+\<\/VirtualHost\>//g' /tmp/test


Use code tags please, ty.
3,408
Posted By m_kapur83
oops...plzz chng it to echo $PARAM|sed -e...
oops...plzz chng it to

echo $PARAM|sed -e 's/(\d+)\/(\d+)\/(\d+)/$3$2$1/g'
:o
3,408
Posted By m_kapur83
you may try something like this : sed -e...
you may try something like this :

sed -e 's/(\d+)\/(\d+)\/(\d+)/$3$2$1/g' | echo $PARAM

It has been assumed here that the date value is retrieved in the parameter PARAM
3,021
Posted By m_kapur83
Execute scripts on remote server
Hi All,
I need to first of all establish a connection to remote unix server non-interactively with the help of a shell script and then connect to oracle database from that server all with this...
Showing results 1 to 10 of 10

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