Search Results

Search: Posts Made By: steven_TTG
Forum: Linux 06-04-2009
5,969
Posted By steven_TTG
libtool compile mode,how to set include path?
Hi all

I want to compile a source gt_util.c into a lo file,

I use

libtool gcc -g -O -c gt_util.c -I./include

but it prompts me :

cannot determin name of library object from 'include'...
33,924
Posted By steven_TTG
echo "3301|2009-02-01 00:00:00...
echo "3301|2009-02-01 00:00:00 |K|GGG|TR|2009-02-12 16:30:58 |ad |12" |tr ' ' '|'
3301|2009-02-01|00:00:00||K|GGG|TR|2009-02-12|16:30:58||ad||12
2,347
Posted By steven_TTG
echo "pre<?php>abc</php>last" | sed...
echo "pre<?php>abc</php>last" | sed 's|.*<?php>\(.*\)</php>.*|\1|'
abc
2,347
Posted By steven_TTG
echo "abc<sadsa>fds" | sed 's/.*\(<.*>\).*/\1/' ...
echo "abc<sadsa>fds" | sed 's/.*\(<.*>\).*/\1/'
<sadsa>
24,924
Posted By steven_TTG
or echo 'abc/def/mnj/filename' | sed...
or

echo 'abc/def/mnj/filename' | sed 's|\(.*\)/\(.*\)/\(.*\)/.*|\1/\2/\3|'
abc/def/mnj
echo 'abc/def/mnj/filename' | sed 's|\(.*\)/\(.*\)/\(.*\)/.*|\3|'
mnj
24,924
Posted By steven_TTG
echo 'abc/def/mnj/filename' | sed...
echo 'abc/def/mnj/filename' | sed 's|\([a-z]*\/\)\([a-z]*\/\)\([a-z]*\/\).*|\1\2\3|'

only for the third one:

echo 'abc/def/mnj/filename' | sed 's|\([a-z]*\/\)\([a-z]*\/\)\([a-z]*\/\).*|\3|'
11,707
Posted By steven_TTG
Thanks your reply what's the content of your...
Thanks your reply
what's the content of your $TESTDIR/filelist?

I mean the file $TESTDIR/filelist also include some relative path.

such as (all realtvie path are set in .profile)
...
11,707
Posted By steven_TTG
cat and export
I have a file named filelist. the content is a list of files including the path.

$ cat filelist
$curdir/test1
$curdir/test2

I want to cat each file in the list, such as cat $curdir/test1, cat...
Forum: Solaris 02-26-2009
18,736
Posted By steven_TTG
Thanks. It works now.
Thanks.

It works now.
Forum: Solaris 02-26-2009
18,736
Posted By steven_TTG
I run it as following , but it doesn't work,...
I run it as following , but it doesn't work, could you tell me what's wrong with it? it's solaris 10 system, I wonder whether the version disable the feature, how to verify that?

1.
$ pwd...
9,414
Posted By steven_TTG
send email should not be the -r option. -r...
send email should not be the -r option.

-r A means A send out email.

if need send email to you ,just

echo sth| mailx youraddress@host.com
Showing results 1 to 11 of 11

 
All times are GMT -4. The time now is 03:43 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy