Sponsored Content
Full Discussion: Save output in a variable
Top Forums Shell Programming and Scripting Save output in a variable Post 302424213 by angshuman_ag on Monday 24th of May 2010 01:48:09 PM
Old 05-24-2010
Like I said, it requires inputfilename. So, if I skip everything and just type convert, then it will show the usage as -

convert [-f] [-outdir] inputXCFFile
 

10 More Discussions You Might Find Interesting

1. AIX

topas -P save output

hi i have server monitor script which totally depends upon the output of TOP which works fine on HP. now i am told to put same script on aix i found that topas -P produces same output but it doesnt redirect output to file i have to kill/terminate it. is there any other way to this. as the... (0 Replies)
Discussion started by: zedex
0 Replies

2. UNIX for Dummies Questions & Answers

Command display output on console and simultaneously save the command and its output

Hi folks, Please advise which command/command line shall I run; 1) to display the command and its output on console 2) simultaneous to save the command and its output on a file I tried tee command as follows; $ ps aux | grep mysql | tee /path/to/output.txt It displayed the... (7 Replies)
Discussion started by: satimis
7 Replies

3. Shell Programming and Scripting

to save output of a command in hash variable

Hi all, is it possible to save the output of a unix command executed in perl to be saved in hash variable.. like i have the command `find $mypath ! -user mainuser -printf \"\%u \%h\\n\"`; this will print all the users other than mainuser with their paths. so is possible to capture... (2 Replies)
Discussion started by: saapa
2 Replies

4. Shell Programming and Scripting

Save cURL verbose output to file or do it like browser "save as.."

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)
Discussion started by: crabmeat
0 Replies

5. Shell Programming and Scripting

how to save an output of a command in a variable

Hi, in shell script, i have the command swstart -p which returns an output. i want to store the output of this command into a variable. how i can do that excerpt from the script #!/usr/bin/ksh # # # # Program: swstart -p # # Description: Starts the sentinels on Slave server ... (4 Replies)
Discussion started by: lookinginfo
4 Replies

6. Shell Programming and Scripting

how can save output?

I make shell script by use "if" statement, what should add it to shell script save which I enter it in output file txt? ---------- Post updated at 08:27 AM ---------- Previous update was at 05:59 AM ---------- I mean like this echo "enter your name" read name # now i when start... (1 Reply)
Discussion started by: Oman_Member
1 Replies

7. UNIX for Dummies Questions & Answers

Solved: how to save an output to a variable

i want to save the output of /scripts/whoowns domain.com to a username like $user = /scripts/whoowns domain.com but I'm not sure how to do that This is inside a bash script how can I get the output of /scripts/whoowns then save that to a variable? thanks! ---------- Post updated at... (0 Replies)
Discussion started by: vanessafan99
0 Replies

8. Programming

Save output in text C++

Hi , i want to save the output of my c ++ code to a text file which is in a particular path : this is part of my code and I dunno where I am doing it wrong do { for( int i = 0; i < l; ++i ) { std::cout << 1 + k * i + index << ' '; } ... (2 Replies)
Discussion started by: siya@
2 Replies

9. UNIX for Dummies Questions & Answers

I save the result in a variable

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)
Discussion started by: tricampeon81
8 Replies

10. Shell Programming and Scripting

Save value from output of Corestat and save in a list for each core

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
INTEL2GAS(1)						      General Commands Manual						      INTEL2GAS(1)

NAME
intel2gas - convert between NASM assembly and GAS assembly language SYNOPSIS
intel2gas [-higmtcIdV] [-o outfile] [infile] DESCRIPTION
This manual page documents briefly the intel2gas command. This manual page was written for the Debian GNU/Linux distribution because the original program does not have a manual page. intel2gas is a small text parser that can convert assembler source written in NASM syntax to gas syntax. And nowadays more often also the other way. OPTIONS
-h Show summary of options. -i convert from intel to at&t format (default) -g convert from at&t to intel format -m convert from masm to at&t format -t convert from tasm to at&t format -c understand C style comments -I convert inline assembler (intel to at&t only) -d output all % chars as %% -V show version ENVIRONMENT
I2G_DATA should indicate the location of the syntax files if they are not installed in the default location. The value should be a path to the directory with the subdirectories g2i, i2g and m2g. FILES
/usr/share/intel2gas/{g2i,i2g,m2g}/* syntaxfiles for the translation. SEE ALSO
There is some other documentation available in the files README, INSTALL and DATAFILES which reside in /usr/share/doc/intel2gas. AUTHORS
The author of the program is Mikko Tiihonen <mikko.tiihonen@hut.fi>. This manual page was written by Alexander Zangerl <az@snafu.priv.at>, for the Debian GNU/Linux system (but may be used by others). INTEL2GAS(1)
All times are GMT -4. The time now is 11:54 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy