Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~905 People Reached
Favorite Tags

6 Posted Topics

Member Avatar for mforeman

I am trying to remove entries if they contain the word "connected" in Perl. My file looks something like below. So In this example, I would like to search for "connected" and if found remove all 6 lines associated with it. If not found, then move on to the next …

Member Avatar for winelover
0
229
Member Avatar for mforeman

I'm trying to remove extra white spaces between two fields with little luck. I can remove trailing and beginning spaces but not inbetween. Can someone help out. Here is what I have - I would like to make all the users aligned and thought I could remove the extra spaces …

0
26
Member Avatar for mforeman

Hi, I would like to gather two types of information and put into an array. For instance, I have a file with 4 lines of info for each entry - I want to get the name and occupation only for each entry. How can I get just the name and …

Member Avatar for mforeman
0
127
Member Avatar for mforeman

Hi all, I am trying to list out a bus as individual names. For instance - When I come across a section in a file that lists a bus like this: <busname>[0:2] I would like to print out this: <busname>[0] <busname>[1] <busname>[2] Here is what I have - It goes …

Member Avatar for Rashakil Fol
0
159
Member Avatar for satimis

I am trying to list out a bus as individual names. For instance - When I come across a section in a file that lists a bus like this: [0:2] <busname> I would like to print out this: <busname>[0] <busname>[1] <busname>[2] Any ideas in PERL or UNIX would be appreciated. …

Member Avatar for mforeman
0
192
Member Avatar for mforeman

Hello, I’m trying to increment numbers in a file – for instance, I would like to change the below 3 lines in a file by incrementing the numbers by 2 (or whatever the user gives). Mikef<20:40> JoeyS<23> Samt<14:39> So the end results should look like this: Mikef<22:42> JoeyS<25> Samt<16:41> I …

Member Avatar for mforeman
0
172

The End.