I'm looking for a way in Korn shell to zero fill (or space fill) the output from df so that it will sort properly.
"Raw" output from df -k:
df -k
Filesystem kbytes used avail capacity Mounted on
/dev/vx/dsk/rootvol 4131866 3593302 497246 88% /
/proc ... (9 Replies)
In open office spreadsheet, i would like to fill a cell with the name of the spread sheet.
That is if the file name of spread sheet is, team.ods, then i have to fill a specific cell with that name 'team'. How to do that ?
I have more spread sheets to be created, so i want it to be done... (0 Replies)
Well, I was originally going to post this snippet in the original thread titled "how to output ones endlessly like /dev/zero", but that topic was closed without an efficient answer.
It was difficult to find (build) a satisfactory answer to this one, so I thought I'd share it here and as a "fill... (1 Reply)
Hello,
I am fairly new to awk, and I have the following problem.
My file has missing data in the last column, and the program I am pre-processing this file for cannot interpret correctly shortened rows (it just wraps the data around).
Is there a way to force awk to create the same... (6 Replies)
hello everyone,
I have a task to input missing data into a file. example of my data below:
Wed Feb 01 09:00:02 EST 2012,,,0.4,0.3,,0.3,,0.3,,0.5,,0.3,,,0.4,0.3,
Wed Feb 01 09:00:11 EST 2012,,,,,,,0.2,,,,,,,,,,
Wed Feb 01 09:00:22 EST... (23 Replies)
Hello,
I need help for writing a script that fills already generated xml file with data from oracle database and random sequences.
For example if we have the following tags:
<ns1:message>
<ns1:messageId> </ns1:messageId>
<ns1:languageCode> </ns1:languageCode>... (10 Replies)
Hi
I want to get all numbers if number range is given as input.
Eg:
INPUT FILE
100-105
107
108-112
OUTPUT REQUIRED:
100 101 102 103 104 105
107
108 109 110 111 112
How can I do it using shell? :confused:
Thanks in advance. (11 Replies)
Gents,
Kindly help me.
I have a file with empty values in selected column, I will like to fill the empty values with the previous value.
Example
Input file
X 4959 30010 66727.00 20457.001 1 1441 66512.00 20234.00 20520.001
X 4959 30010 66727.00 20457.001 145 ... (7 Replies)
The below awk improved bu @MadeInGermany, works great as long as the input file has data in it in the below format:
input
chrX 25031028 25031925 chrX:25031028-25031925 ARX 631 18
chrX 25031028 25031925 chrX:25031028-25031925 ARX 632 14... (3 Replies)
Discussion started by: cmccabe
3 Replies
LEARN ABOUT DEBIAN
gii_cmd_nodata_event
gii_cmd_event(3) GGI gii_cmd_event(3)NAME
gii_cmd_event, gii_cmd_nodata_event - LibGII commands and information events
SYNOPSIS
#include <ggi/events.h>
typedef struct {
COMMON_DATA;
uint32_t code;
} gii_cmd_nodata_event;
#define GII_CMD_DATA_MAX (248-sizeof(gii_cmd_nodata_event))
typedef struct gii_cmd_event {
COMMON_DATA;
uint32_t code;
uint8_t data[GII_CMD_DATA_MAX];
} gii_cmd_event;
DESCRIPTION
These are used internally either to the application or the kernel. The same event is used for both Command and Information events.
GENERATED EVENTS
gii_cmd_event is the basic structure for evCommand and evInformation events. It may need to be casted to some other structure (depending
on code) to access the data.
STRUCTURE MEMBERS
code The command or request code.
data Provides raw access to the device and/or command specific data. The recipient must not store references to the data. If the data
information is needed afterwards, copy it!
DEVICE INFORMATION
One use of evCommand is to convey some capabilities of a GII device, via the GII_CMDCODE_GETDEVINFO command code.
SEE ALSO gii_event(3), gii_cmddata_getdevinfo(3)libgii-1.0.x 2006-12-30 gii_cmd_event(3)