Search Results

Search: Posts Made By: p50p100
Forum: Linux 11-23-2008
10,027
Posted By p50p100
If dvd you want to mount is what you baught,You...
If dvd you want to mount is what you baught,You need to use libdvdcss.

libdvdcss - Wikipedia, the free encyclopedia (http://en.wikipedia.org/wiki/Libdvdcss)
Forum: Programming 08-23-2008
6,221
Posted By p50p100
You should add extern to header file. #if...
You should add extern to header file.

#if defined(__cplusplus)
extern "C"
{
#endif
//ptototype declare
char *yourfunction(void);

#if defined(__cplusplus)
}
#endif


If you...
62,728
Posted By p50p100
man awk or info awk or If awk is gawk,...
man awk
or
info awk
or
If awk is gawk, you can look at below page.
Gawk - GNU Project - Free Software Foundation (FSF) (http://www.gnu.org/software/gawk/)
62,728
Posted By p50p100
man command help you. gsub(r, s [, t]) ...
man command help you.
gsub(r, s [, t]) For each substring matching the regular expression r in the
string t, substitute the string s, and return the...
3,067
Posted By p50p100
You should execute below. find Folder/ -name...
You should execute below.

find Folder/ -name 'A200808*' -exec rm -f {} \;

Because
Before command parameters is used by find command
Your shell expands parameters.

After you execute "touch...
2,157
Posted By p50p100
sed -e...
sed -e 's@^\([A-Za-z0-9]\+=\)\(.*\)@s/^\1.*/\1\2/@' file2 | sed -f - -i file1
Forum: Programming 08-17-2008
6,841
Posted By p50p100
I think one reason. If compiler failed on...
I think one reason.

If compiler failed on creating .o file from .c file, I must modifiy .pc file.
But I often have modified .c file at many times. And it works.

After a while. I create .c file...
Forum: Programming 08-17-2008
6,841
Posted By p50p100
I don't know details. But, do .PRECIOUS...
I don't know details.

But, do .PRECIOUS option only keep .c file except for temp file ?

My result is it that I really execute it. (And I'm surprized!)

I am not sure that reason why it works.
Forum: Programming 08-17-2008
6,841
Posted By p50p100
I think it's better that you write your task in...
I think it's better that you write your task in Makefile.

RM=rm -f
PC2C_FILE=`find -name '*.pc' -exec echo {} \; | sed -e 's/.pc$$/.c/' `
.SUFFIXES:
.SUFFIXES: .c .o .obj .pc

all: ...
Forum: Programming 08-17-2008
6,841
Posted By p50p100
It means dependency that .c files are created...
It means dependency that .c files are created from .pc files.

So it's bellow description you should write.

---------------
.pc.c:
---------------

Regards.
2,190
Posted By p50p100
You should use awk with join. (But you allways...
You should use awk with join.
(But you allways need to keep files sorted by matricule key)

join -1 1 -2 1 -a 1 -a 2 -t \; -o 1.1,1.2,1.3,1.4,1.5,2.1,2.2,2.3,2.4,2.5 file1 file2 \
| awk -F ';'...
Forum: Programming 08-12-2008
9,630
Posted By p50p100
enum fruit_info {apple, orange, banana,...
enum fruit_info {apple, orange, banana, fruit_info_cnt}

fruit_rec fruits[fruit_info_cnt];


How is this?
Forum: Programming 08-10-2008
8,403
Posted By p50p100
Stream of Hex 'EFBFBD' means encoding failed char...
Stream of Hex 'EFBFBD' means encoding failed char at UTF-8.

Unicode Character 'REPLACEMENT CHARACTER' (U+FFFD) (http://www.fileformat.info/info/unicode/char/fffd/index.htm)

So you need not to...
7,047
Posted By p50p100
Windows file have <cr><lf> with line end. ...
Windows file have <cr><lf> with line end.
Linux file only have <lf> with line end.

So paste command can recognize <lf> between the line and the other line.

Therfore you need to exchange line...
Forum: Ubuntu 08-08-2008
7,113
Posted By p50p100
I have same experience, too. I'm not sure....
I have same experience, too.

I'm not sure. That is meaning that there is no font file.

Firstly, you look for X system installed directory.

Secondaly you'll see next file.



You'll look...
Forum: Linux 08-08-2008
2,820
Posted By p50p100
It's wrong format. The correct format is...
It's wrong format.

The correct format is this below.
(man at)



So you should execute this.
#schedule command to run at 4pm
at -t `date +%m%d`1600
2,838
Posted By p50p100
Firstly, please create file below: a 601 602...
Firstly, please create file below:

a 601 602 603
b 601
c 610 615
d 601 603 612

Secondary, please use "join" command:

a 601 601 602 603
a 602 601 602 603
a 603 601 602 603
b 601 601
c...
Forum: Red Hat 07-27-2008
5,354
Posted By p50p100
#!/bin/bash function dump() { export...
#!/bin/bash

function dump()
{
export na_pre
export na_pos
export na_len
locale -a | while read na
do
na_len=${#na}
#until "_"
na_pre=${na/_*//}
na_pre=${#na_pre}
#before "."...
Forum: Linux 07-27-2008
3,777
Posted By p50p100
I maybe think that It's temp file system (called...
I maybe think that It's temp file system (called rootfs (=nearly ramfs )) until It's real file system (ext2, ext3 etc) is mounted.

Therefore there are no data which we use. So writing logic don't...
Forum: Linux 03-24-2008
40,328
Posted By p50p100
I tryied samely. I succeed below description. ...
I tryied samely. I succeed below description.

mount /dev/loop1
or
mount /strage/part1

It needs either device or directory parameter only.
'man mount' says these two examples near 'fstab'...
Forum: Programming 03-22-2008
8,653
Posted By p50p100
I'm thinking of that,too. I found...
I'm thinking of that,too.

I found XQueryColor function. below article is good!
Screen grab with X11 (http://www.roard.com/docs/cookbook/cbsu19.html)

I succeed by XQueryColor.
Showing results 1 to 21 of 21

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