Sponsored Content
Full Discussion: World Wide Name (FLEX)
Operating Systems AIX World Wide Name (FLEX) Post 302894905 by akitafan on Thursday 27th of March 2014 10:12:04 PM
Old 03-27-2014
Finding WWN's

Code:
for HBA in $(lsdev -Cc adapter | grep fcs | awk '{print $1}')
do
     HOST=$(uname -n)
     WWN=$(lscfg -vl $HBA | grep Network)
     echo $HOST $HBA $WWN
done

Moderator's Comments:
Mod Comment Thanks for trying to help, but please start using code tags, check your PMs.

Last edited by zaxxon; 03-28-2014 at 04:28 AM.. Reason: code tags
 

5 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Issues getting FLEX up in HP-UX 11

Hi, I am trying to install FLEX in HP-UX 11 and I am having issues in getting it up. After installing the FLEX I got from the HP-UX site for 11.11, it complained as missing libiconv.sl. Then I got the libiconv installed from the DEPOT got from HP-UX site and now its complaining as... (2 Replies)
Discussion started by: tobsinte
2 Replies

2. UNIX for Dummies Questions & Answers

Terminal too wide

Hi Experts, It may be a trivial thing, but I am stuck. Whenver I try to open a file using vi I get error Terminal Too wide. I am using putty to connect to a Sun OS. Please advice. bash-2.05$ vi all_subs_ded_20080203.txt Terminal too wide :q 1 more file to edit:q (3 Replies)
Discussion started by: RishiPahuja
3 Replies

3. HP-UX

flex++ parser for HP-UX11

Hi, can anyone tell me were to download flex++ parser for HP-UX11 BR vasanth (1 Reply)
Discussion started by: vasanthan
1 Replies

4. Red Hat

flex installation problem

hi , when i run ./configure in wine-1.3.10 folder in midway i get error message Your flex version is too old. Please install flex version 2.5.33 or newer. but when i try to install flex using yum install flex it gives me message Package flex-2.5.4a-41.fc6.i386 already installed and latest... (1 Reply)
Discussion started by: anand121
1 Replies

5. What is on Your Mind?

Mad World Remix of Moby Video (Are You Lost In The World Like Me)

This is an excellent video comment on modern society and the remix is good too: https://www.youtube.com/watch?v=5DU1B_XkyIk 5DU1B_XkyIk Watch the video above and post your comments. (3 Replies)
Discussion started by: Neo
3 Replies
FLEX(1) 							   User Commands							   FLEX(1)

NAME
flex - the fast lexical analyser generator SYNOPSIS
flex [OPTIONS] [FILE]... DESCRIPTION
Generates programs that perform pattern-matching on text. Table Compression: -Ca, --align trade off larger tables for better memory alignment -Ce, --ecs construct equivalence classes -Cf do not compress tables; use -f representation -CF do not compress tables; use -F representation -Cm, --meta-ecs construct meta-equivalence classes -Cr, --read use read() instead of stdio for scanner input -f, --full generate fast, large scanner. Same as -Cfr -F, --fast use alternate table representation. Same as -CFr -Cem default compression (same as --ecs --meta-ecs) Debugging: -d, --debug enable debug mode in scanner -b, --backup write backing-up information to lex.backup -p, --perf-report write performance report to stderr -s, --nodefault suppress default rule to ECHO unmatched text -T, --trace flex should run in trace mode -w, --nowarn do not generate warnings -v, --verbose write summary of scanner statistics to stdout Files: -o, --outfile=FILE specify output filename -S, --skel=FILE specify skeleton file -t, --stdout write scanner on stdout instead of lex.yy.c --yyclass=NAME name of C++ class --header-file=FILE create a C header file in addition to the scanner --tables-file[=FILE] write tables to FILE Scanner behavior: -7, --7bit generate 7-bit scanner -8, --8bit generate 8-bit scanner -B, --batch generate batch scanner (opposite of -I) -i, --case-insensitive ignore case in patterns -l, --lex-compat maximal compatibility with original lex -X, --posix-compat maximal compatibility with POSIX lex -I, --interactive generate interactive scanner (opposite of -B) --yylineno track line count in yylineno Generated code: -+, --c++ generate C++ scanner class -Dmacro[=defn] #define macro defn (default defn is '1') -L, --noline suppress #line directives in scanner -P, --prefix=STRING use STRING as prefix instead of "yy" -R, --reentrant generate a reentrant C scanner --bison-bridge scanner for bison pure parser. --bison-locations include yylloc support. --stdinit initialize yyin/yyout to stdin/stdout --noansi-definitions old-style function definitions --noansi-prototypes empty parameter list in prototypes --nounistd do not include <unistd.h> --noFUNCTION do not generate a particular FUNCTION Miscellaneous: -c do-nothing POSIX option -n do-nothing POSIX option -? -h, --help produce this help message -V, --version report flex version SEE ALSO
The full documentation for flex is maintained as a Texinfo manual. If the info and flex programs are properly installed at your site, the command info flex should give you access to the complete manual. flex 2.5.35 February 2008 FLEX(1)
All times are GMT -4. The time now is 08:41 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy