- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
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
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 … |
|
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 … |
|
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 … |
|
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 … |
|
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 … |
|
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 … |
|
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 … |
|
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 … |
|
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 … |
|
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 … |
|
Re:
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 : … |
|
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? … |
|
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] … |
|
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: … |
|
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". … |