I have a file that comes in as 20081002_invoices.txt and needs to go out as
invoices(20081002).xls When ran this file should have three seperate fields as follows:
column1 column2 column3
data1 data2 data3
when i run the script it produces the invoices(20081002).xls but moves... (1 Reply)
Hi,
I am triying to make sure that there exists only one file with the pattern abc* in path /path/. This directory is having many huge files. If there is only one file then I have to take its complete name only to use furter in my script.
I am planning to do like this:
if ; then... (2 Replies)
Hi All,
I am very new in programming. I need some help.
I have one input file like:
Number of disabled taxa: 9
Loading mapping file: ncbi.map
Load mapping:
taxId2TaxLevel: 469951
--- Subsample reads (20%): 66680 of 334386
Processing: tree-from-summary
Running tree-from-summary... (21 Replies)
I'd like to do an if / else if condition and print to different files.
Something like:
awk '{
if ($1 == "yes") print $2, $4 < infile > outfile1 ;
else if ($1 == "No") print $2, $4 < infile > outfile2
}'
Obviously I don't know the syntax.
Thanks so much. (5 Replies)
Hi Everyone,
I have two files i.e. one file2 contains today's data and the other file1 contains Yesterday's data.
The data in the files contains 226 columns and the data for the coulums separated by a Pipe "|" delimiter.
Now, I have 4 Primary keys (coulumns) by which I have to compare file2 and... (10 Replies)
Hi
I am writing a perl script which checks for the specific column values from a file and writes to the OUT file.
So the feed file has a header information and footer information.
I header information isaround107 lines i.e.
Starts with
START-OF-FILE
.......
so on ....
... (11 Replies)
Hi guys!
So I have a program that allows the user to enter a file, change some characters (for example, a changes to t, etc.) and then save the new file under a new name. However, I need to press carriage return twice for the program to end. I was just wondering if anyone knew of a way for the... (2 Replies)
Hi,
I'm trying to use pyExcelerator's module "xls2csv" converter in ubuntu.
The following works great, except the standard out is in the terminal.
sudo python xls2csv.py test.xls
I want the csv delimited output to be redirected to a file. When I enter....
sudo python xls2csv.py test.xls... (5 Replies)
Good day, I am trying to run the following command but it does not seem to work.
# mysql -pPassword asteriskcdrdb -s -b -e "select 'Account ID','Destination','Operator','Provider','Date','BillSec','Rate id','Cost' UNION select accountcode,dst,'PBX',route_name,date_format(calldate,'%Y/%c/%e... (8 Replies)
Discussion started by: esgaroth32
8 Replies
LEARN ABOUT HPUX
create_sysfile
create_sysfile(1M)create_sysfile(1M)NAME
create_sysfile - create a kernel system file
SYNOPSIS
[outfile]
DESCRIPTION
The command creates a kernel configuration description file (system file) which can be used as input to the commands kconfig(1M) or mk_ker-
nel(1M). The system file that is generated is of type version 1 (see system(4)) and is built according to the drivers required by the cur-
rent system hardware. This command is intended for use during the install process when the system does not have a system file.
The command uses the ioscan(1M) command to scan the system hardware and adds all drivers it can identify to run the existing hardware. If
outfile is specified, the resulting system file is sent to outfile. If outfile is not specified, the output is placed in the file
RETURN VALUE
Upon completion, returns with one of the following exit values:
0 Successful.
1 One or more errors were reported.
DIAGNOSTICS
Errors are sent to stderr. Most of the diagnostic messages from are self-explanatory. Errors cause to halt immediately.
WARNINGS
is obsolete and will be removed in a future version of HP-UX.
AUTHOR
was developed by HP.
SEE ALSO ioscan(1M), kconfig(1M), mk_kernel(1M), system(4), kconfig(5).
create_sysfile(1M)