Search Results

Search: Posts Made By: patiobarbecue
Forum: Programming 12-20-2008
12,616
Posted By patiobarbecue
Hey, Jim, thanks for the tip, it is really...
Hey, Jim, thanks for the tip, it is really encouraging! You are right, it is not a problem of size of the storage. It is my program error. My unfinished makefile didn't automatically delete the old...
Forum: Programming 12-19-2008
12,616
Posted By patiobarbecue
not sure
hey, jim, thanks for reply. I am not sure 64bit executable is what I want since I am using a 32 bit machine :(.

I experienced a lots of error while using gnu c library time.h functions, where...
Forum: Programming 12-19-2008
12,616
Posted By patiobarbecue
enable 64bit long type for gcc
hey, I believe I once saw a post in this forum, about enable an GCC option to enable long types. I simply cannot find it any more. Can anybody give me a hint? I am on 32bit Ubuntu, and I would like...
8,926
Posted By patiobarbecue
by ASCII characters, I mean the ASCII range...
by ASCII characters, I mean the ASCII range (U+0000 to U+007F)
8,926
Posted By patiobarbecue
why "iconv" didn't convert myfile.csv to ASCII?
(it seems that this post is best put here, where shell programming people use "iconv" and "file" all the time. it was posted in the Linux Application and got no replies)

Dear there, I tried to use...
4,597
Posted By patiobarbecue
thanks Franklin52 and jimbalaya. After replying...
thanks Franklin52 and jimbalaya. After replying the jimbalaya's first post, I realize that the pipeline might leads to a subshell, and then see both of your replies. Thanks!
really need to go...
4,597
Posted By patiobarbecue
Dear jimbalaya, I just added "echo $$" to see...
Dear jimbalaya, I just added "echo $$" to see which shell I am in, it turned out that I am in the same shell all the time. however the value of $TO is not updated inside the while loop!...
4,597
Posted By patiobarbecue
dear jimbalaya, it seems doing the opposite...
dear jimbalaya, it seems doing the opposite thing. What I want is to let ${TO} to hold values after the while loop. It seems that the subshell prevents that. Since I didn;t use subshell, I expect the...
4,597
Posted By patiobarbecue
global variable not holding its value?
dear there,

this kept me awake last night, the variable ${TO} in the following script doesn't seem to hold its value.

I have a file ./filelist, which lists all files of interests. I group them...
7,839
Posted By patiobarbecue
make -d will gives lots of debug information...
make -d
will gives lots of debug information generated by `make`. however the variable expansion is not shown in the output.
6,874
Posted By patiobarbecue
more info on my question
hey, thanks for the reply. with the make -d option I am able to pull about more info for diagonosis. This is the paragraph in the makefile I am working on:

$(EXE): $(OBJS)
bla=;\
for...
6,874
Posted By patiobarbecue
$$ means?
hey, what's $$varname in a script? I used to see $varname only. search on google didn't help. thanks.
7,839
Posted By patiobarbecue
turn on shell tracing of a makefile
hey, within a shell script file I know how to turn on tracing using "-x"
#!/bin/bash -x

now I have a complicated makefile which contains lots of `command`, and i would like to trace these...
1,674
Posted By patiobarbecue
why one uses /../ within a path
hey, while reading a makefile coming with a package, i see this path

/something/otherthing/smi_stable/lib/../share/doc/coin/Clp/clp_addlibs.txt

why doesn't the makefile just use:
...
10,483
Posted By patiobarbecue
thanks! works like a charm. for i in 'find ...'...
thanks! works like a charm. for i in 'find ...' is so commonly seen as an example, it seems I should always use the while statement in future.

by the way, "man read", "man while" didn't give me...
10,483
Posted By patiobarbecue
for i in `find *` breakdown since the directory name has space
hey, somebody can help me on this broken script?

for i in `find . -name index.html`;do
echo "$i"
awk '{print $0}' $i
done

the path to index.html has space in it. For example,
./10...
Showing results 1 to 16 of 16

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