10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi Experts,
Anybody out there figure out on how to achieve in shell scripts or tools. I have done googling to find solutions but no luck.
I have thousands of .txt files to batch process, please see the below sample text content after -------- start here --------. What I want to achieve is to... (10 Replies)
Discussion started by: lxdorney
10 Replies
2. Shell Programming and Scripting
Hi,
I have following text file. I want to convert it into the below HTML format. Kindly help.
Input Text File
Header 1
=======
Name:***
Age:***
Address:***
Work Phone:***
Email:***
Mobile:***
Country:***
City:***
Pincode:***
some text here **** (10 Replies)
Discussion started by: ctrld
10 Replies
3. Shell Programming and Scripting
thanks for allowing me to join your forum
i have a html file with three columns ------------Last visit date , URL and link,,,,,,,, how can i convert the same into csv so that i can output into database... the mechine is linux...i made a little googling and got idea that there is ways for... (2 Replies)
Discussion started by: certteam
2 Replies
4. Shell Programming and Scripting
Input file (each line is separaed by spaces )given below:
Name Domain Contact Phone Email Location
----------------------- ------------------------------------------------ ------- -----... (18 Replies)
Discussion started by: sreenath1037
18 Replies
5. Shell Programming and Scripting
This is the ldf file
dn: sdcsmsisdn=1000000049,sdcsDatabase=subscriberCache,dc=example,dc=com
objectClass: sdcsSubscriber
objectClass: top
postalCode: 29600
sdcsServiceLevel: 10
sdcsCustomerType: 14
givenName: Adelia
sdcsBlackListAll: FALSE
sdcsOwnerType: T-Mobile
sn: Actionteam... (1 Reply)
Discussion started by: LinuxFriend
1 Replies
6. Shell Programming and Scripting
is there anyway i can paste/cat a text file into a html paragraph <p>
function html_header
{
cat <<END
<html>
<head><title>${1}</title></head>
<body>
<p>
${2}
</p>
END
}
function html_footer
{
cat <<END
</body>
</html>
END (2 Replies)
Discussion started by: magnia
2 Replies
7. Shell Programming and Scripting
Hi,
I need to convert a text file formatted like this ("tshark -z conv,ip" output) to HTML:
=====================================================================================================
IPv4 Conversations
Filter:<No Filter>
| <- ... (4 Replies)
Discussion started by: ph0enix
4 Replies
8. UNIX for Dummies Questions & Answers
I have a html file called myfile. If I simply put "cat myfile.html" in UNIX, it shows all the html tags like <a href=r/26><img src="http://www>. But I want to extract only text part.
Same problem happens in "type" command in MS-DOS.
I know you can do it by opening it in Internet Explorer,... (4 Replies)
Discussion started by: los111
4 Replies
9. UNIX for Dummies Questions & Answers
Dear Sir;
i want to know how the binary data convert to text file or readablw format (ASCII).If possible pl. help me for the software and where it is available for download. i.e. (1 Reply)
Discussion started by: auro123
1 Replies
10. UNIX for Dummies Questions & Answers
I am having a problem. There is one ISAM file available in SCO UNIX environment. I want to convert it to simple comma delimited text file. Actual problem is with the size of the file. For the time being, size is 1.3 GB and I have to grab the subset of the data after every five minutes e.g. in... (3 Replies)
Discussion started by: a.waqar
3 Replies
QFocusEvent(3qt) QFocusEvent(3qt)
NAME
QFocusEvent - Event parameters for widget focus events
SYNOPSIS
#include <qevent.h>
Inherits QEvent.
Public Members
QFocusEvent ( Type type )
bool gotFocus () const
bool lostFocus () const
enum Reason { Mouse, Tab, Backtab, ActiveWindow, Popup, Shortcut, Other }
Static Public Members
Reason reason ()
void setReason ( Reason reason )
void resetReason ()
DESCRIPTION
The QFocusEvent class contains event parameters for widget focus events.
Focus events are sent to widgets when the keyboard input focus changes. Focus events occur due to mouse actions, keypresses (e.g. Tab or
Backtab), the window system, popup menus, keyboard shortcuts or other application specific reasons. The reason for a particular focus event
is returned by reason() in the appropriate event handler.
The event handlers QWidget::focusInEvent() and QWidget::focusOutEvent() receive focus events.
Use setReason() to set the reason for all focus events, and resetReason() to set the reason for all focus events to the reason in force
before the last setReason() call.
See also QWidget::setFocus(), QWidget::focusPolicy, and Event Classes.
Member Type Documentation
QFocusEvent::Reason
This enum specifies why the focus changed.
QFocusEvent::Mouse - because of a mouse action.
QFocusEvent::Tab - because of a Tab press.
QFocusEvent::Backtab - because of a Backtab press (possibly including Shift/Control, e.g. Shift+Tab).
QFocusEvent::ActiveWindow - because the window system made this window (in)active.
QFocusEvent::Popup - because the application opened/closed a popup that grabbed/released focus.
QFocusEvent::Shortcut - because of a keyboard shortcut.
QFocusEvent::Other - any other reason, usually application-specific.
See the keyboard focus overview for more about focus.
MEMBER FUNCTION DOCUMENTATION
QFocusEvent::QFocusEvent ( Type type )
Constructs a focus event object.
The type parameter must be either QEvent::FocusIn or QEvent::FocusOut.
bool QFocusEvent::gotFocus () const
Returns TRUE if the widget received the text input focus; otherwise returns FALSE.
bool QFocusEvent::lostFocus () const
Returns TRUE if the widget lost the text input focus; otherwise returns FALSE.
Reason QFocusEvent::reason () [static]
Returns the reason for this focus event.
See also setReason().
void QFocusEvent::resetReason () [static]
Resets the reason for all future focus events to the value before the last setReason() call.
See also reason() and setReason().
void QFocusEvent::setReason ( Reason reason ) [static]
Sets the reason for all future focus events to reason.
See also reason() and resetReason().
SEE ALSO
http://doc.trolltech.com/qfocusevent.html http://www.trolltech.com/faq/tech.html
COPYRIGHT
Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the license file included in the distribution for a complete license
statement.
AUTHOR
Generated automatically from the source code.
BUGS
If you find a bug in Qt, please report it as described in http://doc.trolltech.com/bughowto.html. Good bug reports help us to help you.
Thank you.
The definitive Qt documentation is provided in HTML format; it is located at $QTDIR/doc/html and can be read using Qt Assistant or with a
web browser. This man page is provided as a convenience for those users who prefer man pages, although this format is not officially
supported by Trolltech.
If you find errors in this manual page, please report them to qt-bugs@trolltech.com. Please include the name of the manual page
(qfocusevent.3qt) and the Qt version (3.3.8).
Trolltech AS 2 February 2007 QFocusEvent(3qt)