08-07-2013
I still can't see how to get from one to the other. Where is dwright3's 272 ? Where do the other data come from? Are they constants?
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi, I'm pretty new to Unix and I just have a question concerning making a script executable without putting the "sh" command before it. In case it makes the difference I am on an Apple computer using the Terminal. Anyway here is the little test code I wrote followed by the commands I took to try to... (5 Replies)
Discussion started by: BuyoCat
5 Replies
2. Shell Programming and Scripting
I have no idea how to make my own flags. (6 Replies)
Discussion started by: rcunn87
6 Replies
3. Shell Programming and Scripting
Here is what I have:
#!/bin/bash
# Setup year date and month
YR=`date +%Y '{print $6}'`
MON=`date +%b '{print $2}'`
DAY=`date +%d '{print $3}'`
file=$YR$MOY$DOM
# clear
# Dump database using USER/PASS to ..sql
mysqldump --user=me -ppass database > database-db.$file.sql
The YR, MON and... (2 Replies)
Discussion started by: npereira
2 Replies
4. Shell Programming and Scripting
hello experts
cany any one help me i want to make one script which can rlogin to another machine .
but it should not ask me username/password from me of another machine it should take the username and password from the script only.
please help me out.
regards,
shary (2 Replies)
Discussion started by: shary
2 Replies
5. Shell Programming and Scripting
Hi ,
I am new to shell scripting I want to make script as to execute followng command
mysqldump -u (user name) -p(password) database name>filename.sql
this file saves with current date and time
and execute automatically at particular time which I give (10 Replies)
Discussion started by: kaushik02018
10 Replies
6. Shell Programming and Scripting
I am trying to create a program called tasklog that integrates with one of my online accounts, to keep track of what tasks I have been working on.
On login, I'd like it to display (up to) the five most recent entries, then ask me what I plan to work on during the new session. I then will type an... (3 Replies)
Discussion started by: santod
3 Replies
7. Shell Programming and Scripting
Hello, im a new user on this site and learning scripting very slowly at a understanding pace. However i am up with a challenge and require help completing this.
The script has to include arguments, variables, decisions and loops. So the script is about calculating the broadcast address for any... (5 Replies)
Discussion started by: tHe666
5 Replies
8. Shell Programming and Scripting
Hi all,
I'm new to Unix so just wanted some help.
I've been self learning and came accross a question online that I was trying. It is to make any shell script executable, the name of the file is to be made executable.
I would use nano and type in something like
#! /bin/bash
Chmod +x... (4 Replies)
Discussion started by: HelenaR
4 Replies
9. AIX
Hello experts,
I'm trying to make a trace (unix log) in hope to see why I have differences in some bases :
I putted at the first { and in the last line } > $DATA_SAS 2>&1
Is it a right command ? Do you have another solution ?
thank you,
regards, (7 Replies)
Discussion started by: rimob
7 Replies
10. UNIX for Beginners Questions & Answers
This script is executed whenever a new vehicle is added to the cycle-motor park
of campus. The script asks for the following information about the car and adds a new
line to the vehicle file.txt: name (name of an animal, unique identifier), color, mark,
model, type (e.g., electrical, manual),... (2 Replies)
Discussion started by: andre2222
2 Replies
LEARN ABOUT FREEBSD
dwarf_get_ate_name
DWARF_GET_AT_NAME(3) BSD Library Functions Manual DWARF_GET_AT_NAME(3)
NAME
dwarf_get_ACCESS_name, dwarf_get_AT_name, dwarf_get_ATE_name, dwarf_get_CC_name, dwarf_get_CFA_name, dwarf_get_CHILDREN_name,
dwarf_get_DS_name, dwarf_get_DSC_name, dwarf_get_EH_name, dwarf_get_END_name, dwarf_get_FORM_name, dwarf_get_ID_name, dwarf_get_INL_name,
dwarf_get_LANG_name, dwarf_get_LNE_name, dwarf_get_LNS_name, dwarf_get_MACINFO_name, dwarf_get_OP_name, dwarf_get_ORD_name,
dwarf_get_TAG_name, dwarf_get_VIRTUALITY_name, dwarf_get_VIS_name -- retrieve the symbolic names of DWARF constants
LIBRARY
DWARF Access Library (libdwarf, -ldwarf)
SYNOPSIS
#include <libdwarf.h>
int
dwarf_get_ACCESS_name(unsigned val, char **str);
int
dwarf_get_AT_name(unsigned val, char **str);
int
dwarf_get_ATE_name(unsigned val, char **str);
int
dwarf_get_CC_name(unsigned val, char **str);
int
dwarf_get_CFA_name(unsigned val, char **str);
int
dwarf_get_CHILDREN_name(unsigned val, char **str);
int
dwarf_get_DS_name(unsigned val, char **str);
int
dwarf_get_DSC_name(unsigned val, char **str);
int
dwarf_get_EH_name(unsigned val, char **str);
int
dwarf_get_END_name(unsigned val, char **str);
int
dwarf_get_FORM_name(unsigned val, char **str);
int
dwarf_get_ID_name(unsigned val, char **str);
int
dwarf_get_INL_name(unsigned val, char **str);
int
dwarf_get_LANG_name(unsigned val, char **str);
int
dwarf_get_LNE_name(unsigned val, char **str);
int
dwarf_get_LNS_name(unsigned val, char **str);
int
dwarf_get_MACINFO_name(unsigned val, char **str);
int
dwarf_get_OP_name(unsigned val, char **str);
int
dwarf_get_ORD_name(unsigned val, char **str);
int
dwarf_get_TAG_name(unsigned val, char **str);
int
dwarf_get_VIRTUALITY_name(unsigned val, char **str);
int
dwarf_get_VIS_name(unsigned val, char **str);
DESCRIPTION
These functions return the symbolic name of a numeric DWARF constant.
Argument val specifies the numeric value whose symbolic name is desired.
Argument str should point to a location which will hold the returned NUL-terminated string containing the symbolic name of the specified
value.
The list of functions and the DWARF constants that they accept are:
dwarf_get_ACCESS_name() DW_ACCESS_* constants.
dwarf_get_AT_name() DW_AT_* constants.
dwarf_get_ATE_name() DW_ATE_* constants.
dwarf_get_CC_name() DW_CC_* constants.
dwarf_get_CFA_name() DW_CFA_* constants.
dwarf_get_CHILDREN_name() DW_CHILDREN_* constants.
dwarf_get_DS_name() DW_DS_* constants.
dwarf_get_DSC_name() DW_DSC_* constants.
dwarf_get_EH_name() DW_EH_PE_* constants.
dwarf_get_END_name() DW_END_* constants.
dwarf_get_FORM_name() DW_FORM_* constants.
dwarf_get_ID_name() DW_ID_* constants.
dwarf_get_INL_name() DW_INL_* constants.
dwarf_get_LANG_name() DW_LANG_* constants.
dwarf_get_LNE_name() DW_LNE_* constants.
dwarf_get_LNS_name() DW_LNS_* constants.
dwarf_get_MACINFO_name() DW_MACINFO_* constants.
dwarf_get_OP_name() DW_OP_* constants.
dwarf_get_ORD_name() DW_ORD_* constants.
dwarf_get_TAG_name() DW_TAG_* constants.
dwarf_get_VIRTUALITY_name() DW_VIRTUALITY_* constants.
dwarf_get_VIS_name() DW_VIS_* constants.
RETURN VALUES
These functions return DW_DLV_OK on success. If the DWARF constant denoted by argument val is not recognized, these function return
DW_DLV_NO_ENTRY.
SEE ALSO
dwarf(3)
BSD
April 22, 2011 BSD