Search Results

Search: Posts Made By: Shawn, Lee
1,742
Posted By Shawn, Lee
How about this... cat file |sed 's/\//_/4'
How about this...
cat file |sed 's/\//_/4'
5,983
Posted By Shawn, Lee
Perl open(CMD, "cmd |"); buffering problem..
Hello,

There's a third-party application's command that shows the application's status like "tail -f verybusy.log". When use the command, the output comes every 1-sec. but when it goes in a...
2,193
Posted By Shawn, Lee
I'm really appreciate your replies.
I'm really appreciate your replies.
2,193
Posted By Shawn, Lee
The command is not 'top' and no command line...
The command is not 'top' and no command line options. Just top-like command.
It displays third-party app. engine's status and re-display every 1-second....

Thanks,
1,144
Posted By Shawn, Lee
How about this sed -e...
How about this

sed -e 's/"jessica"/"DUMMY_jessica"/' -e 's/"john"/"DUMMY_john"/' file123.xml
2,193
Posted By Shawn, Lee
Capturing first output from 'top'-likes command
Is this a stupid code??


top > top.out &
sleep 2
kill %1
cat top.out


Thanks,
2,463
Posted By Shawn, Lee
How about this... Test first! for i in `find ./...
How about this... Test first!
for i in `find ./ -name *failed*`
do
newfn=`echo $i |sed 's/failed.dateandtime/ready/'`
echo "mv $i /somewhere/$newfn"
# mv $i /somewhere/$newfn
done
...
1,956
Posted By Shawn, Lee
cutting long text by special char around 100 byte and newline
Regard,

How can i cut the text by special char(|) around 100 byte
and write the other of the text at newline using Perl.
...
Showing results 1 to 8 of 8

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