How to fill data from other file and get some output
Greetings,
I have a hard time creating a large number of user profiles in a database.
The data file looks like this :
And I need to put the output into:
Thanks in advance!
Moderator's Comments:
Please use [code] and [/code] tags when posting code, data or logs etc. to preserve formatting and enhance readability, thanks.
Last edited by zaxxon; 05-26-2011 at 04:54 AM..
Reason: code tags
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
fssync-debug_mode
FSSYNC-DEBUG_MODE(8) AFS Command Reference FSSYNC-DEBUG_MODE(8)NAME
fssync-debug_mode - Changes volume attach mode (FSYNC_VOL_NEEDVOLUME opcode)
SYNOPSIS
fssync-debug mode -volumeid <volume ID>
[-partition <exact partition name>]
[-reason <sync protocol reason code>]
[-programtype <program type code>]
[-help]
fssync-debug mod -v <volume ID>
[-pa <exact partition name>]
[-r <sync protocol reason code>]
[-pr <program type code>]
[-h]
fssync-debug needvolume -v <volume ID>
[-pa <exact partition name>]
[-r <sync protocol reason code>]
[-pr <program type code>]
[-h]
fssync-debug n -v <volume ID>
[-pa <exact partition name>]
[-r <sync protocol reason code>]
[-pr <program type code>]
[-h]
DESCRIPTION
The fssync-debug mode command changes volume attach mode.
OPTIONS -volumeid <volume ID>
Specifies the numeric volume ID. Volume names are not permitted.
-partition <exact partition name>
Specifies the exact partition name (e.g. /vicepa). Abbreviations are not permitted.
-reason <sync protocol reason code>
Specifies numeric sync protocol reason code. Available codes are listed in OpenAFS source file src/vol/fssync_inline.h. For
SYNC_REASON_NONE, use -reason 0.
-programtype <program type code>
Specifies program type code. Permitted values are fileServer, volumeUtility, salvager, salvageServer, volumeServer and volumeSalvager.
PRIVILEGE REQUIRED
The issuer must have write access to the file server. Usually, this means that the issuer must be the local superuser "root" on the file
server machine.
SEE ALSO fssync-debug_attach(8), fssync-debug_detach(8), fssync-debug_callback(8), fssync-debug_online(8), fssync-debug_offline(8),
fssync-debug_error(8)COPYRIGHT
Copyright 2010 Davor Ocelic <docelic@spinlocksolutions.com>
This documentation is covered by the IBM Public License Version 1.0. This man page was written by Davor Ocelic for OpenAFS, based on
documentation from Steven Jenkins, Tom Keiser and Simon Wilkinson.
OpenAFS 2012-03-26 FSSYNC-DEBUG_MODE(8)