Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
0 Endorsements
~4K People Reached
About Me

Working in Wireless SW industry.Graduated in Computer Science in 2003 in Espoo, Finland. Afterwords worked few years in Finland, then couple of years in Canada and currently working in UK as a SW build engineer. Mostly working with Open Source codes,…

Interests
Literature, Blog posts, comparative religion
PC Specs
Worked mainly with Windows OS, have working knowledge in Linux as well
Member Avatar for boshu

I am trying to replace a string with a part in it. It works in CYGWIN on Windows machine but when I try it in MAc it gives me error. WIN RESULT (works): $ cat lastVersion.txt 4.2.1.98/ $ sed -re 's/[0-9]+\.[0-9]+\.[0-9]+\.([0-9]+).*/\1/' lastVersion.txt 98 MAC RESULT (does not work): ++ sed …

Member Avatar for JasonHippy
0
265
Member Avatar for boshu

Hi, I am trying to write a small shell script that will take user input on SVN branch and validate that the requested branch exists in SVN. And then continue with other operations if the branch is valid. I tried the following but seems its not working right: VALID_BRANCHES="4.2.1 4.1.0 …

Member Avatar for Watael
0
264
Member Avatar for boshu

This forum has been always a great help for me. I have a problem also this time and hope you can help me wth a solution. I have a few servers (svn, sql..) running remotely in various windows servers and sometimes it goes beyond notice that a particulr server stopped …

Member Avatar for Taywin
0
137
Member Avatar for boshu

Dear all, I need to copy a set of files every once in a while from my build env to a shared drive. The set of files are same, names may vary but they come with same extension. So far I am doing it manually. I wish it could be …

Member Avatar for d5e5
0
374
Member Avatar for boshu

Hi There I am building some SW modules in Linux environment and at the end of a build the artifacts are stored in the env in a particular folder called HW. This HW folder contains a number of folders underneath for individual targets and those contains one or more folders …

Member Avatar for boshu
0
127
Member Avatar for boshu

I am building some SW modules in Linux environment and at the end of a build the artifacts are stored in the env in a particular folder called HW. This HW folder contains a number of folders underneath for individual targets and those contains one or more folders and files …

0
72
Member Avatar for boshu

Hi all, Once again I am here with a simple problem which is hard enough to solve by myself: I got the following keys in an array: [CODE] 20110225104849 20110225104833 20110225104848 [/CODE] And following files in a folder: [CODE] google_20110225091600.7z google_20110225091622.7z google_20110225100306.7z google_20110225100410.7z google_20110225104833.7z google_ready_20110225100410.txt google_ready_20110225104833.txt Yahoo_20110225091639.7z Yahoo_20110225100320.7z Yahoo_20110225100424.7z Yahoo_20110225104849.7z …

Member Avatar for boshu
0
169
Member Avatar for boshu

I am trying to split a file into 2 parts. File format is following: filename_status_date.filetype and the files are: apple_india_20110218091255.txt apple_india_20110221112444.txt apple_india_20110301112444.txt I need to split so that first part carries "apple_india" and second part carries the "20110301112444.txt". I tried the following: [CODE] my ($fruit,$end)=split(/\_/); [/CODE] But that splits the …

Member Avatar for boshu
1
152
Member Avatar for boshu

Hi all, Once again I would like to seek your help. I got one file (test.hrh) with a number of flags. Some falgs are defined (#define), some not (#undef). I got another file which a flag list which should be added to the file if not there, and if exists …

Member Avatar for k_manimuthu
0
992
Member Avatar for boshu

Hi all, I am using a script which takes various command line options, does some zipping activities and publish a log file of what is has zipped. arguments: [CODE]zip_contents.pl -u content_name -s c:\contetn_path -u content_flag -m content.sender@mail[/CODE] When the log file is created I want that the given command line …

Member Avatar for boshu
0
241
Member Avatar for FoX_

Hi all; I've to update a record for my hw.I'm trying to use seek function but when I use it, new information(phone number) is being written at the end of file... Here is the function that I've tried... Assume that the file's content like below and the input is : …

Member Avatar for boshu
0
218
Member Avatar for boshu

Hi all, I have been using a macro definition to copy a set of files to different locations and FTP servers. But copying seems quite slow so I want to compress the bundle using 7z and copy all into FTP as one single file. Can it be done using 7z? …

Member Avatar for Ezzaral
0
196
Member Avatar for boshu

I got an array of email addresses: [CODE]@emails = ("sam\@email.com", "john\@email.com", "jenifer\@email.com");[/CODE] There are 20 txt files wherefrom email addresses are being parsed. The parsed email addresses should be added to the @emails array only if they are not in it. Example txt file contents: =========================== Zip_Name: [email]jenni@email.com[/email] Zip_Name: [email]sam@email.com[/email] …

Member Avatar for boshu
0
172
Member Avatar for boshu

Hi all, I am in fruit industry and dealing with stock inventory of fruits. I got 2 files, one file got fruit names (fruit.txt) and other file got the inventory status (status.txt). Task for me was to check the fruit list and update the inventory status: Contents of the files: …

Member Avatar for boshu
0
390
Member Avatar for boshu

Hi I am a PERL novice. Currently dealing with a problem and wondering whether it can be solved using PERL? I got a folder containing a number of text files. Every time a file is created a timestamp is added at the end followed by an "_". for example "apple_20101210091255.txt". …

Member Avatar for k_manimuthu
0
202