Hi, thanks for your reply.
The above command able to give me an output in my screen. But I unable to save it into another output file
Do you got any idea how I can archive it?
I have a window open on my ultra 10 - a terminal window connecting to a server.
Is there any way I can log all output to this window to a log file on my ultra 10 ? (2 Replies)
Hi all,
I am displaying my result in HTML format using tables.
I want to save the results in file in the same format along with the table only.
How do i do that in perl?
I have attached the table structure .
I want to save like that itself .
with regards (2 Replies)
hello hackers.
i have a curl process running as cgi directly pushing stdout to the client. but i want to additionally save that stream to a file at the same time.
any directions madly welcome.
thanks in advance (3 Replies)
hi there !
i have exactly the same problem like this guy here
https://www.unix.com/shell-programming-scripting/127668-getting-curl-output-verbose-file.html
i am not able to save the curl verbose output..
the sollution in this thread (redirecting stderr to a file) does not work for me.... (0 Replies)
Hi,
If I type:
ls -l *txt | awk '{print $8}'
I get the file listing if I am in the directory.
If I try to do the same from a job flow, doing also other things, I can't do
ls -l directory/*txt | awk '{print $8}' > directory/result.txt
or
echo ls -l directory/*txt | awk '{print... (8 Replies)
Currently I have a perl code to combine two different files.
#! /usr/bin/perl -w
use strict;
open FP1,"A.txt";
open FP2,"B.txt";
my ($l1,$l2);
while(1)
{
$l1=<FP1>; chomp $l1;
$l2=<FP2>; chomp $l2;
last unless(defined $l1 or defined $l2);
print "$l1 $l2\n";
}
close FP2;... (4 Replies)
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
Hi there.
i have created a program that in the end it will give output like this
1 2 3 4 5
10 9 ... (1 Reply)
I have friends that this command worked perfectly, but I would like to save the result in a variable, which I have not achieved
var=prueba.txt
echo $var | cut -d "." -f 1
prueba
I need to do this but does not work me
salida=echo $var | cut -d "." -f 1
echo "result:$salida"
... (8 Replies)
I am trying to modify the "corestat v1.1" code which is in Perl.The typical output of this code is below:
Core Utilization
CoreId %Usr %Sys %Total
------ ----- ----- ------
5 4.91 0.01 4.92
6 0.06 ... (0 Replies)
Discussion started by: Zam_1234
0 Replies
LEARN ABOUT OPENDARWIN
lipo
LIPO(1) General Commands Manual LIPO(1)NAME
lipo - create or operate on fat files
SYNOPSIS
lipo [-info] [-detailed_info] [-arch arch_type input_file] ... [ input_file] ... [-create] [-thin arch_type] [-replace arch_type file-
name] ... [-remove arch_type] ... [-extract arch_type] ... [-extract_family arch_type] ... [-output output_file] [-segalign arch_type
value] ...
DESCRIPTION
The lipo command creates or operates on ``fat'' (multi-architecture) files. It only ever produces one output file, and never alters the
input file. The operations that lipo performs are: listing the architecture types in a fat file; creating a single fat file from one or
more input files; thinning out a single fat file to one specified architecture type; and extracting, replacing, and/or removing architec-
tures types from the input file to create a single new fat output file.
Only one option can be specified, with the exception of -arch, -output, and -segalign, which are used in combination with other options.
The input_file argument is required, and only the -create option allows more than one input_file to be specified. The -output flag must be
used, except with the -info and -detailed_info flags.
The arch_type arguments may be any of the supported architecture names listed in the man page arch(3)exceptforVAXandMips.
OPTIONS -info Briefly list the architecture types in the input fat file (just the names of each architecture).
-detailed_info
Display a detailed list of the architecture types in the input fat file (all the the information in the fat header, for each archi-
tecture in the file).
-arch arch_type input_file
Tells lipo that input_file contains the specified architecture type. The -arch arch_type specification is unnecessary if input_file
is an object file, a fat file, or some other file whose architecture(s) lipo can figure out.
-output output_file
Specifies its argument to be the output file.
-create
Take the input files (or file) and create one fat output file from them.
-thin arch_type
Take one input file and create a thin output file with the specified arch_type.
-replace arch_type file_name
Take one fat input file; in the output file, replace the arch_type contents of the input file with the contents of the specified
file_name.
-remove arch_type
Take one fat input file and remove the arch_type from that fat file, placing the result in the output file.
-extract arch_type
Take one fat input file and copy the arch_type from that fat file into a fat output file containing only that architecture.
-extract_family arch_type
Take one fat input file and copy all of the arch_types for the family that arch_type is in from that fat file into an output file
containing only those architectures. The file will be thin if only one architecture is found or fat otherwise.
-segalign arch_type value
Set the segment alignment of the specified arch_type when creating a fat file containing that architecture. value is a hexadecimal
number that must be an integral power of 2. This is only needed when lipo can't figure out the alignment of an input file (cur-
rently not an object file), or when it guesses at the alignment too conservatively. The default for files unknown to lipo is 0
(2^0, or an alignment of one byte), and the default alignment for archives is 4 (2^2, or 4-byte alignment).
SEE ALSO arch(3)Apple Computer, Inc. October 23, 1997 LIPO(1)