Search Results

Search: Posts Made By: mikezang
Forum: OS X (Apple) 11-01-2012
4,426
Posted By mikezang
I changed to use ksh, but I got the same result,...
I changed to use ksh, but I got the same result, do you know why?
Forum: OS X (Apple) 11-01-2012
4,426
Posted By mikezang
Associated Array in bash
I am using code as below to save data in associated array on Mac OS 10.8.

#!/bin/sh

storyboardExt=".storyboard"
stringsExt=".strings"
newStringsExt=".strings.new"...
4,157
Posted By mikezang
Thank you veri much! I just all suggestion here,...
Thank you veri much! I just all suggestion here, yours is the best and the simplest correct answer! Thanks again!
4,157
Posted By mikezang
I found why no any output, because my file is in...
I found why no any output, because my file is in UTF-16 format, I am not sure why Mac awk can't process UTF-16 format file.
4,157
Posted By mikezang
If you can do it, I think my os is Mac, so the...
If you can do it, I think my os is Mac, so the same script can't do them same thing, what can I do next?
4,157
Posted By mikezang
Mac OS X 10.8 Mountain Lion
Mac OS X 10.8 Mountain Lion
4,157
Posted By mikezang
Can you test it for me? I test it a below, but...
Can you test it for me?
I test it a below, but no any output, I hope that I can get result as output.txt

awk...
4,157
Posted By mikezang
No error, but no output..
No error, but no output..
4,157
Posted By mikezang
Sorry, I only have chance to run it on Mac..
Sorry, I only have chance to run it on Mac..
4,157
Posted By mikezang
Hi bartus11 and Scrutinizer I tried both of...
Hi bartus11 and Scrutinizer
I tried both of yours, but no output, why?

By the way, the order of lines might be different. for example
A File like this

/* comment for id1 */
"id1" = "x1"
...
4,157
Posted By mikezang
Thanks for your shorter answer! If I want to...
Thanks for your shorter answer!
If I want to output to file B, what can I do?

---------- Post updated at 04:08 ---------- Previous update was at 04:07 ----------


Thanks for your shortest...
4,157
Posted By mikezang
Merge two files by condition
I have two files as below
A file

/* comment for id1 */
"id1" = "x1"

/* comment for id2 */
"id2" = "x2"

/* comment for id3 */
"id3" = "x3"


B file

/* comment for id1 */
"id1" =...
Showing results 1 to 12 of 12

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