Search Results

Search: Posts Made By: Sekhar419
8,211
Posted By RudiC
I don't think either of a/src, b/src, or...
I don't think either of a/src, b/src, or x/y/dataLu/src is an absolute path; they all start downwards from your current working directory, $PWD.


Just in case neither the readlink nor the...
8,211
Posted By jim mcnamara
In bash on some systems it is a shell function: ...
In bash on some systems it is a shell function:

realpath () ...
1,598
Posted By RudiC
man awk: The match searches $0 for your...
man awk:

The match searches $0 for your target string PCX..._1 (the ellipsis replaced by [^_]*, i.e. non-"_" characters), and, if found, sets RSTART and RLENGTH accordingly for immediate use by...
1,598
Posted By RudiC
How about awk '/PROTOBUF_DIRS/ && match ($0,...
How about
awk '/PROTOBUF_DIRS/ && match ($0, /PXC[^_]*_1/) {print substr ($0, RSTART, RLENGTH)}' *.spec *.mkawk unfortunately lacks both the -r (--recursive) and the --include options that grep...
1,478
Posted By wisecracker
It would be interesting to know why ${MY_GIT_TOP}...
It would be interesting to know why ${MY_GIT_TOP} is used as in this script it is a NULL string.
OR was that the intention?


Hope this helps...
1,478
Posted By RudiC
Now, this is quite confusing. Let me try to...
Now, this is quite confusing. Let me try to paraphrase what I can infer from your spec:

In directory ${MY_GIT_TOP}/body/Ue/test you run make test_trinity_svp twice (WHY?), but in between you...
1,478
Posted By Corona688
make has an option -c for just this situation. ...
make has an option -c for just this situation.

if make -c ../../ test_trinity_svp && ! grep whatever
...

That would be ideal I think, but if you want to save the value,
make ...
MAKERES="$?"...
1,439
Posted By RudiC
Don Cragun's little awk script does exactly that...
Don Cragun's little awk script does exactly that - loop through ALL test-?????? files around, where ?????? matches the file names the sample numbers you post: 000000, 000001, 000002, etc.
If - as...
1,439
Posted By Don Cragun
The following is totally untested, but should...
The following is totally untested, but should come close to what you want. If the lines printed out by this look like the mv commands you hope to run, remove the echo from the awk script and run it...
Showing results 1 to 9 of 9

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