Sponsored Content
Full Discussion: Rebuild command
Top Forums UNIX for Dummies Questions & Answers Rebuild command Post 54565 by Ygor on Wednesday 18th of August 2004 09:33:36 AM
Old 08-18-2004
To slice a file into lines of, say, 80 chars use...

fold -80 infile > outfile

To convert a file with null record separators use...

tr '\0' '\n' < infile > outfile
 

10 More Discussions You Might Find Interesting

1. IP Networking

TCP stream rebuild

If you have used snort to build a folder list of computers IP and their packets is there a tcp stream follow application that can be used to re-build the packets? Like ethereal? (1 Reply)
Discussion started by: macdonto
1 Replies

2. UNIX for Dummies Questions & Answers

Need to rebuild and install the kernel.

Trying to install some ide raid drivers (to add some more hdds) and the instrcutions have toled me to modify some code in the kernel folder in usr/src (this is mandrake linux 9 btw). I need to then rebuild the kernel, how do I do this? Is there some file that I bring up for a whole c project (the... (2 Replies)
Discussion started by: pudad
2 Replies

3. UNIX for Advanced & Expert Users

best way to rebuild a kernel

i really have an issue with the otherwise outstading FreeBSD Handbook when it comes to kernel building. information on the proper steps to take is really confusing. i think that chapters 9 and 21 need to be combined to give a very concise format on how best to deal with kernel building/rebuidling... (1 Reply)
Discussion started by: xyyz
1 Replies

4. HP-UX

How to rebuild a new disk

Hi.... I newbee to this and wanted help on hpux11 system. Disk is being replaced and need to rebuild and what r the commands I need to perform after the disk is swapped :confused: Thanks! (1 Reply)
Discussion started by: catwomen
1 Replies

5. Shell Programming and Scripting

Analyze the indexes and rebuild them

Hello UNIX and Oracle Gurus, After doing an intensive search from different websites, the UNIX forum I am posting this message seeking help.. I am trying to accomplish the following tasks through the shell script: 1. Rebuild indexes on a Table in Oracle 2. Analyze indexes and table... (0 Replies)
Discussion started by: madhunk
0 Replies

6. BSD

rebuild the portsystem

hi Howto rebuild the whole portsystem on freeBSD? THX (3 Replies)
Discussion started by: ccc
3 Replies

7. UNIX for Dummies Questions & Answers

Kernel not rebuild

hi, system operation: unix sco 3.2.4 Kernel not rebuild, do not remove or update tcp/ip e3H0 driver. messages: cat:cannot open../sdevice.d/5 line:5.1 32 -1 fatal error:mdevice:wrong number of fields idmaster:device do not exist in therefore can not be update idinstall: cannot... (0 Replies)
Discussion started by: milen
0 Replies

8. Red Hat

redhat rebuild kernel

Hi expert, I goes to # pwd /usr/src/kernels/2.6.32-279.el6.x86_64 then I make bzImage I meet error # make CHK include/linux/version.h CHK include/linux/utsrelease.h SYMLINK include/asm -> include/asm-x86 make: *** No rule to make target `missing-syscalls'. Stop. make:... (1 Reply)
Discussion started by: yanglei_fage
1 Replies

9. Linux

I need help rebuild ext3 filesystem

hi to all I wanted to edit a enigma2 image to my box .. the image is root.img .. Analysed then I have the picture and I have this: parted root.img WARNING: You are not superuser. Watch out for permissions. GNU Parted 2.2 Using /home/soft/Bureau/enigma2/root.img Welcome to GNU Parted! Type... (3 Replies)
Discussion started by: soft
3 Replies

10. UNIX for Beginners Questions & Answers

Restoring Centos after rebuild?

So I'm going to rebuild a Centos server in order to have the disk encrypted, it's a clean install (no data on it yet) other than it was tricky getting the GPU/drivers to work properly. So I want to take a backup before I rebuild, that way I just set the partition layout the way it was before and... (1 Reply)
Discussion started by: xdawg
1 Replies
buttonbox(1)							  [incr Widgets]						      buttonbox(1)

__________________________________________________________________________________________________________________________________________________

NAME
buttonbox - Create and manipulate a manager widget for buttons SYNOPSIS
buttonbox pathName ?options? INHERITANCE
itk::Widget <- buttonbox STANDARD OPTIONS
background cursor See the "options" manual entry for details on the standard options. WIDGET-SPECIFIC OPTIONS Name: orient Class: Orient Command-Line Switch: -orient Orientation of the button box: horizontal or vertical. The default is horizontal. Name: padX Class: PadX Command-Line Switch: -padx Specifies a non-negative padding distance to leave between the button group and the outer edge of the button box in the x direction. The value may be given in any of the forms acceptable to Tk_GetPixels. The default is 5 pixels. Name: padY Class: PadY Command-Line Switch: -pady Specifies a non-negative padding distance to leave between the button group and the outer edge of the button box in the y direction. The value may be given in any of the forms acceptable to Tk_GetPixels. The default is 5 pixels. __________________________________________________________________________________________________________________________________________________ DESCRIPTION
The buttonbox command creates a manager widget for controlling buttons. The button box also supports the display and invocation of a default button. The button box can be configured either horizontally or vertically. METHODS
The buttonbox command creates a new Tcl command whose name is pathName. This command may be used to invoke various operations on the wid- get. It has the following general form: pathName option ?arg arg ...? Option and the args determine the exact behavior of the command. Many of the widget commands for the buttonbox take as one argument an indicator of which button of the button box to operate on. These indicators are called indexes and allow reference and manipulation of buttons regardless of their current map state. buttonbox indexes may be specified in any of the following forms: number Specifies the button numerically, where 0 corresponds to the left/top-most button of the button box. end Indicates the right/bottom-most button of the button box. default Indicates the current default button of the button box. This is the button with the default ring displayed. pattern If the index doesn't satisfy one of the above forms then this form is used. Pattern is pattern-matched against the tag of each button in the button box, in order from left/top to right/left, until a matching entry is found. The rules of Tcl_StringMatch are used. WIDGET-SPECIFIC METHODS pathName add tag args Add a button distinguished by tag to the end of the button box. If additional arguments are present they specify options to be applied to the button. See PushButton for information on the options available. pathName buttonconfigure index ?options? This command is similar to the configure command, except that it applies to the options for an individual button, whereas configure applies to the options for the button box as a whole. Options may have any of the values accepted by the PushButton command. If options are specified, options are modified as indicated in the command and the command returns an empty string. If no options are specified, returns a list describing the current options for entry index (see Tk_ConfigureInfo for information on the format of this list). pathName cget option Returns the current value of the configuration option given by option. Option may have any of the values accepted by the buttonbox command. pathName configure ?option? ?value option value ...? Query or modify the configuration options of the widget. If no option is specified, returns a list describing all of the available options for pathName (see Tk_ConfigureInfo for information on the format of this list). If option is specified with no value, then the command returns a list describing the one named option (this list will be identical to the corresponding sublist of the value returned if no option is specified). If one or more option-value pairs are specified, then the command modifies the given widget option(s) to have the given value(s); in this case the command returns an empty string. Option may have any of the values accepted by the buttonbox command. pathName default index Sets the default button to the button given by index. This causes the default ring to appear arround the specified button. pathName delete index Deletes the button given by index from the button box. pathName hide index Hides the button denoted by index. This doesn't remove the button permanently, just inhibits its display. pathName index index Returns the numerical index corresponding to index. pathName insert index tag ?option value option value ...? Same as the add command except that it inserts the new button just before the one given by index, instead of appending to the end of the button box. The option, and value arguments have the same interpretation as for the add widget command. pathName invoke ?index? Invoke the command associated with a button. If no arguments are given then the current default button is invoked, otherwise the argument is expected to be a button index. pathName show index Display a previously hidden button denoted by index. EXAMPLE
buttonbox .bb .bb add Yes -text Yes -command "puts Yes" .bb add No -text No -command "puts No" .bb add Maybe -text Maybe -command "puts Maybe" .bb default Yes pack .bb -expand yes -fill both AUTHOR
Bret A. Schuhmacher Mark L. Ulferts KEYWORDS
buttonbox, pushbutton, button, widget Tk buttonbox(1)
All times are GMT -4. The time now is 08:41 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy