10-06-2009
You're absolutely on target, Radoulov. Keeping sharp by peer review is why I'm here. Thanks!
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
Can someone let me know how I can acheive the following.
I have ~ delimited file and I need to convert into something like SQL insert statements.
SrcFile :
1~sjdsdj~asasas~
2~aaaaa~qwqwqwq~qwq
.....
I tried
AWK -F"~" '{print "INSERT INTO XX VALUES("$1 " ,\' "$2" \' , \' "$3 }'... (3 Replies)
Discussion started by: braindrain
3 Replies
2. UNIX for Dummies Questions & Answers
Hi all,
It is a very stupid problem but I am not able to find a solution to it.
I am using awk to get a column from a file and I want to get the output field in between single quotes. For example,
Input.txt
123 abc
321 ddff
433 dfg
........
I want output file to be as
... (6 Replies)
Discussion started by: gauravgoel
6 Replies
3. Shell Programming and Scripting
i want to print ' symbol using awk i tried:
awk '{print " ' "}'
awk '{print "\' "}'
both not work please help me. (2 Replies)
Discussion started by: RahulJoshi
2 Replies
4. Shell Programming and Scripting
For example:
I got a list of file end at .txt. I want all of them do the same command like
grep '^@' and attached it to a output .sh file.
This is the command I type:
ls *.txt | awk '{print "grep \' \^\@\' ",$1}' > txt.sh
My desired output is when I type the command "more txt.sh "
The... (4 Replies)
Discussion started by: patrick87
4 Replies
5. Shell Programming and Scripting
cat a | awk -F";" '{print "update db set column=' "$2" ' where column1=\""$1"\";"}' > ip-add.sql
Hi! I'm a new user!
i need to use single quote in the double quotes print string
The apex between che "$2" should not be interpreted, but....how?!
I'm trying to use \ but don't work correctly!
... (4 Replies)
Discussion started by: Re DeL SiLeNziO
4 Replies
6. Shell Programming and Scripting
How do you print out a single quote character in AWK? Using the escape character does not seem to work.
{printf "%1$s %2$s%3$s%2$s\n" , "INCLUDE", " \' ", "THIS" }
does not work. Any suggestions? (6 Replies)
Discussion started by: cold_Que
6 Replies
7. Shell Programming and Scripting
Hi Guys,
Please someone help me to insert these numbers (enclosed with single quotes) to a statement using awk command. I'm having hard time of putting single quotes on these numbers.
input file:
10214
68441
07205
80731
92234
55432
DESIRED OUTPUT:
My ID Number='10214';... (1 Reply)
Discussion started by: pinpe
1 Replies
8. Homework & Coursework Questions
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:
i have the output of a csh script piped to an awk script. In the awk script i was trying to assign a variable... (3 Replies)
Discussion started by: ymc1g11
3 Replies
9. Shell Programming and Scripting
From:
1,2,3,4,5,This is a test
6,7,8,9,0,"This, is a test"
1,9,2,8,3,"This is a ""test"""
4,7,3,1,8,""""
To:
1,2,3,4,5,This is a test
6,7,8,9,0,"This; is a test"
1,9,2,8,3,"This is a ''test''"
4,7,3,1,8,"''"Is there an easy syntax I'm overlooking? There will always be an odd number... (5 Replies)
Discussion started by: Michael Stora
5 Replies
10. Shell Programming and Scripting
Hello,
I'd like to print line if column 5th doesn't match with exm. But to reach there I have to make sure I match single quote.
I'm struggling to match that.
I've input file like:
Warning: Variants 'exm480340' and '5:137534453:G:C' have the same position.
Warning: Variants 'exm480345'... (9 Replies)
Discussion started by: genome
9 Replies
emxmgr(8) System Manager's Manual emxmgr(8)
NAME
emxmgr - Displays Fibre Channel worldwide name to target ID mappings for emx devices
SYNOPSIS
emxmgr [-h] [-s] [-d] [-m emx?| -t emx?] [[-f] -c mapping_file]
OPTIONS
Note
The task of managing target identifier (ID) mappings is obsolete in this release. Any customized mappings that you defined in previous
releases will merge forward. You can use the emxmgr utility to review current mappings and to display information on your current Fibre
Channel configuration.
To use the emxmgr utility in interactive (prompt) mode, enter the command with no options.
You can specify the following command options: Do not use this option in this release.
Changes the emx driver target ID mappings. The mapping_file is the name of a file that contains the new mapping data. Returns a
list of instance numbers of Fibre Channel host adapters that are present on the system, such as: emx0 emx1 emx2. This instance is
then used in place of the command argument emx? to identify a specific host adapter on which an operation is to be performed. Do
not use this option in this release.
Forces target ID mapping changes without prompting for confirmation. Provides command help information. Displays the target ID
mappings for a specific Fibre Channel host adapter. Use the emx? argument to specify the adapter instance, such as emx1. Do not
use this option should in this release.
Provides syntax information for the file used as the source of mapping_file. Displays information on an adapter's current Fibre
Channel topology. The emx? argument specifies which adapter instance, such as emx0 is displayed.
DESCRIPTION
The emxmgr utility enables you to review the mappings of Fibre Channel worldwide names to device target identifiers (IDs) for the emx
device driver.
The emxmgr utility interacts with the emx driver to display the driver's mappings. Refer to the emx(7) reference page for a description of
the emx driver and its associated data files.
For a change to a local host adapter to take effect, the local system must be rebooted.
FILES
The executable image. The device driver module.
SEE ALSO
emx(7).
The TruCluster documentation for information on symmetrical configurations.
emxmgr(8)