10-25-2007
Cant figure out this..
Hi, I need a little help here. I am exporting user info from a PSQL database and everything is working with the exception of this:
10029008:dsAuthMethodStandard\:dsAuthClearText:classword:10029008:2004:10029008:10029008:/home/student/1002/90/08:10029008
It is putting a colon right before the last numbers. I need to have a / to complete the home path. Any suggestions are welcome and I appreciate this forums help.
Thanks,
JW
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I am having problems scripting in UNIX. I am currently attending school and for the first time I am being introduced to scripting. My problem is I am supposed to enhance the spell_check by adding a third optional argument. The third argument is to specify a list of words to be added to the... (1 Reply)
Discussion started by: steph
1 Replies
2. UNIX for Dummies Questions & Answers
hi there i am new to this site and this linux and unix stuff so kind of plz help me out hoe to start the stuff.... (1 Reply)
Discussion started by: cool_dude
1 Replies
3. Shell Programming and Scripting
All,
I appreciate any help you can provide on this. I get an "else unmatched" error with this code and can't figure out why. If I remove the 1st if statement through the 1st else the script runs through fine. Any thoughts?
#decrypt file
sudo -u gpg /usr/bin/gpg... (4 Replies)
Discussion started by: peteroc
4 Replies
4. IP Networking
Hi,
How do I get subnet from this:
10.252.0.138/25
Tnx (2 Replies)
Discussion started by: mehrdad68
2 Replies
5. Shell Programming and Scripting
Hello,
i am on 2.6.13-1.1526_FC4smp
i have directory named /home , and in there i have directory 2009_10_10
and two files : 2009_10_10.log and 2009_10_11.log
How to write shell script which will delete only file/s that don't have his/their 'parent' directory, so in this case , only... (7 Replies)
Discussion started by: tonijel
7 Replies
6. UNIX for Dummies Questions & Answers
Hi,
I have inherited a server at work that has one IP and two virtual IP's. It is live and I want to figure out what each IP is being used for. I thought of NETSTAT but I cannot figure out how to get it to list what each IP is listening for. ANy advice? (8 Replies)
Discussion started by: mojoman
8 Replies
7. UNIX for Advanced & Expert Users
I have two machines, each with a virtual interface, with the following configurations:
Machine1:
eth2 Link encap:Ethernet HWaddr 00:09:6B:19:E5:05
inet addr:172.16.0.201 Bcast:172.16.0.255 Mask:255.255.255.0
eth2:0 Link encap:Ethernet HWaddr 00:09:6B:19:E5:05
... (0 Replies)
Discussion started by: druidmatrix
0 Replies
8. UNIX for Dummies Questions & Answers
I'm putting together a shell script while I'm learning UNIX -- just for myself. It's a little script that simply takes some vendor names and writes them to a file. So far I'm at the stage where the user enters the name of the file and places it in a folder called vendorlists:
* ) touch... (5 Replies)
Discussion started by: Straitsfan
5 Replies
9. UNIX for Dummies Questions & Answers
#!/bin/sh
while IFS=: read address port; do
: ${port:=443}
address=$address
port=$port
cd $f_location
number=`grep "$address" thing.txt -A 1 | grep "addresses=" | cut -d'"' -f2`
echo "$address,$port,$number,$answer" >>... (9 Replies)
Discussion started by: shade917
9 Replies
10. Shell Programming and Scripting
Hi,
Below is my input file:
Long list of significant figure
1.757E-4
7.51E-3
5.634E-5
.
.
.
Desired output file:
0.0001757
0.00751
0.00005634
.
.
. (10 Replies)
Discussion started by: perl_beginner
10 Replies
LEARN ABOUT V7
genlib_def_phfig
GENLIB_DEF_PHFIG.3(October 1, 1997) GENLIB_DEF_PHFIG.3(October 1, 1997)
NAME
GENLIB_DEF_PHFIG - open a layout model as current figure
SYNOPSYS
#include <genlib.h>
void GENLIB_DEF_PHFIG(cellname)
char *cellname;
ORIGIN
This software belongs to the ALLIANCE CAD SYSTEM developed by the ASIM team at LIP6 laboratory of Universite Pierre et Marie CURIE, in
Paris, France.
Web : http://asim.lip6.fr/recherche/alliance/
E-mail : alliance-users@asim.lip6.fr
PARAMETERS
cellname Name of the cell which all futher calls to genlib physical functions will work on
DESCRIPTION
DEF_PHFIG defines the current physical working figure by it's name, the cellname argument. It can be use anywhere in the genlib program,
but must appear at least once at the top of it, since it also initalize the user's preferences through environment variables.
If the figure called cellname doesn't exists in memory, it is created. If it already exists in memory, it makes it the current working
figure. DEF_PHFIG doesn't look on disk for the figure cellname, so be careful not to overwrite an existing file while saving later on.
EXAMPLE
#include <genlib.h>
main()
{
/* Create a figure to work on */
GENLIB_DEF_PHFIG("mycell");
/* Place an instance */
GENLIB_PLACE("mymodel","firstinstance", NOSYM,0L,0L);
/* Save all that on disk */
GENLIB_SAVE_PHFIG();
}
SEE ALSO
genlib(1), GENLIB_DEF_PHSC(3).
BUG REPORT
This tool is under development at the ASIM department of the LIP6 laboratory.
We need your feedback to improve documentation and tools.
PROCEDURAL GENERATION LANGUAGE
ASIM/LIP6 GENLIB_DEF_PHFIG.3(October 1, 1997)