Sponsored Content
Full Discussion: Please give your inputs !!!!
Top Forums Shell Programming and Scripting Please give your inputs !!!! Post 302115529 by inquirer on Wednesday 25th of April 2007 09:54:36 AM
Old 04-25-2007
ifconfig | awk ' /flags/ { x = $1 ; next } /inet/ { print x $2 }' Smilie
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Multiple Inputs

Have tried the search, but nothing resembles what I'd like to accomplish. I am attempting to write a script that will allow the user to input a list of data at the command prompt, then the data is used by another script for processing. I am allowing the user a list of 10 members in order to... (4 Replies)
Discussion started by: douknownam
4 Replies

2. Shell Programming and Scripting

Inputs from a file

Hi, I have a shell script that has to taken inputs from a file say "Inputs". Now I take 2 inputs at a time. Suppose the Inputs file contains numbers like 2 3 4 5 Now I have a written a script for adding 2 numbers. When I run the script for first time 2 and 3 must be the inputs. When i run the... (4 Replies)
Discussion started by: sendhil
4 Replies

3. Shell Programming and Scripting

Validating inputs from a file

Hi, I have a file called inputs. Now that file has the values like this: 1 2 3 Now In my script called 'get.sh' I do this : exec < inputs read a b c d Now I know that there will not be any value in d. How can I check it. I need the exact condition for checking whether the variable has... (1 Reply)
Discussion started by: sendhilmani123
1 Replies

4. Shell Programming and Scripting

Check for numeric inputs

Hi All, How do i modify the below script such that if the input is numeric, it will give the numeric digit, else it will ouput "0" echo "xxx" | awk '/^+$/' (6 Replies)
Discussion started by: Raynon
6 Replies

5. Programming

Handling variable inputs

Hi, Is there any way to handle variable inputs. If an application handles more than one input how to print the input values. Example : ./a.out 1 "hi" 3 ./a.out 1 ./a.out 1 3 4 "hello" output should be: 1 hi 3 1 (1 Reply)
Discussion started by: yhacks
1 Replies

6. UNIX for Dummies Questions & Answers

How to give multiple inputs to a shell script

Got struck while trying to write a shell script which should automatically give input. While running a script for eg: (adpatch.sh) It Prompts for Multiple inputs like: Do you currently have files used for installing or upgrading the database installed in this APPL_TOP ? need to give... (2 Replies)
Discussion started by: abdmoha
2 Replies

7. Shell Programming and Scripting

Give inputs externally to awk script

Hello to all, Please some awk expert could help me. If I want to run an awk script as "command" give it inputs externally I do: Script.sh Input="$1" # "$1" is the input that will be given to the script Output=${Input%.*}.csv awk '{$1=$1}1' $Input | awk '{...}' > $Output and I run the... (3 Replies)
Discussion started by: Ophiuchus
3 Replies

8. Shell Programming and Scripting

Read variable inputs

I am trying to make an interactive script. Only problem my inputs are not read and correctly channeled. Please help: Here is my code #!/bin/sh PATHSCRIPT=/home/pp/tmp #if ; then # echo "Syntax : $0 input off lat sample" # exit 1 # fi echo "Choice of Graph" echo "1 -- Type... (5 Replies)
Discussion started by: newkid.7955
5 Replies

9. Shell Programming and Scripting

Taking inputs on prompt

need a help to get a script: bash # ./xx.sh >> count 567 script will run the xx.sh and it will go to >> then run "count" will get the result "567" and print it (7 Replies)
Discussion started by: Aditya.Gurgaon
7 Replies

10. Shell Programming and Scripting

Inputs argument for sh -c

I have doubts with the following command: % find "$1" -name "*.html" -print0 | sort -zn | xargs -r -0 -n 1 sh -c 'echo "Dumping file: $2" >> "$1"; w3m "$2" >> "$1" 2>&1 ' sh "$2" I have doubts in the input arguments value i.e. $0, $1, $2... Step by step: 1.- % find "$1" -name "*.html"... (10 Replies)
Discussion started by: puertas12
10 Replies
wxSizerFlags(3erl)					     Erlang Module Definition						wxSizerFlags(3erl)

NAME
wxSizerFlags - See external documentation: wxSizerFlags. DESCRIPTION
See external documentation: wxSizerFlags . DATA TYPES
wxSizerFlags() : An object reference, The representation is internal and can be changed without notice. It can't be used for comparsion stored on disc or distributed for use on other nodes. EXPORTS
new() -> wxSizerFlags() Equivalent to new([]) . new(Options::[Option]) -> wxSizerFlags() Types Option = {proportion, integer()} See external documentation . align(This::wxSizerFlags(), Alignment::integer()) -> wxSizerFlags() See external documentation . border(This::wxSizerFlags()) -> wxSizerFlags() Equivalent to border(This, []) . border(This::wxSizerFlags(), Options::[Option]) -> wxSizerFlags() Types Option = {direction, integer()} See external documentation . border(This::wxSizerFlags(), Direction::integer(), BorderInPixels::integer()) -> wxSizerFlags() See external documentation . center(This::wxSizerFlags()) -> wxSizerFlags() See external documentation . centre(This::wxSizerFlags()) -> wxSizerFlags() See external documentation . expand(This::wxSizerFlags()) -> wxSizerFlags() See external documentation . left(This::wxSizerFlags()) -> wxSizerFlags() See external documentation . proportion(This::wxSizerFlags(), Proportion::integer()) -> wxSizerFlags() See external documentation . right(This::wxSizerFlags()) -> wxSizerFlags() See external documentation . destroy(This::wxSizerFlags()) -> ok Destroys this object, do not use object again AUTHORS
<> wxErlang 0.98.9 wxSizerFlags(3erl)
All times are GMT -4. The time now is 09:48 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy