Hello all,
I am being dumb with this and I know there is a simple solution.
I have a file with the follwing lines
bc stuff (more)...............123
bc stuffagain (moretoo)............0
bc stuffyetagain (morehere)......34
failed L3 thing..............1
failed this... (2 Replies)
Need help with the following, I want to extract the digits from the following file pattern
using the expr command. digits are in the range 1-99
Tried two different methods, not sure what I am doing wrong.
file1=file1.dbf
file10=file10.dbf
Works for
expr "$file10" : '.*\(\)'
10
... (2 Replies)
Hi All,
I have searched the forum but couldn't find exactly what I need. Hopefully someone may be able to help.
I'm trying to put a script together that will extract numbers from a text file and multiply them by, for example 1.5 or 1.2
Sample file looks like this...... (1 Reply)
Hello Everyone,
i have quick question.
I have file names like: bin_map300.asc and I would like to extract grid300.
My approach so far:
name=bin_map300.asc
echo ${name%%.*}
echo ${name##*_}
I am stuck combining the two.
Any help would be appreciated. (3 Replies)
Hello,
I have a file of text and numbers from which I want to extract certain fields and write it to a new file. I would use awk but unfortunately the input data isn't always formatted into the correct columns. I am using tcsh.
For example, given the following data
I want to extract:
and... (3 Replies)
Hi guys,
Any easy way to generate a CSV file that contains only the numbers out of the following lines?
load averages: 15.09, 12.89, 11.76 03:39:22
999 processes: 854 sleeping, 2 running, 122 zombie, 5 stopped, 16 on cpu
Memory: 32G real, 17G free, 18G swap in use, 15G swap free
... (6 Replies)
Hi, the title isn't very descriptive but it'll be easier to explain what I need if I write out the coordinates from which I need to extract certain information:
ATOM 2521 C MAM X 61 44.622 49.357 12.584 1.00 0.00 C
ATOM 2522 H MAM X 61 43.644 49.102 12.205 ... (10 Replies)
Hi I am part of a academic organization and I want to send a fax to the students however there must be a quicker way to get the fax numbers extracted from the online forms they sent me.
The file looks like this (numbers are fake in order to protect identity):
Biochemistry Major
Michael... (3 Replies)
I have number 192.168.21.8.
I want to extract from this number with sed 21 and 8 to variables a and b. Any Ideas?
I did like 's/\(192.168.\)/ /' but its wrong :( (6 Replies)
Perl::Critic::Exception::Configuration::Option::Global::UsermContributed)Perl::Critic::Exception::Configuration::Option::Global::ParameterValue(3)NAME
Perl::Critic::Exception::Configuration::Option::Global::ParameterValue - A problem with the value of a global parameter.
DESCRIPTION
A representation of a problem found with the value of a global parameter, whether from a .perlcriticrc, another profile file, or command
line.
INTERFACE SUPPORT
This is considered to be a public class. Any changes to its interface will go through a deprecation cycle.
CLASS METHODS
"throw( option_name => $option_name, option_value => $option_value, source => $source, message_suffix => $message_suffix )"
See "throw" in Exception::Class.
"new( option_name => $option_name, option_value => $option_value, source => $source, message_suffix => $message_suffix )"
See "new" in Exception::Class.
METHODS
"full_message()"
Provide a standard message for global configuration problems. See "full_message" in Exception::Class.
AUTHOR
Elliot Shank <perl@galumph.com>
COPYRIGHT
Copyright (c) 2007-2011 Elliot Shank.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. The full text of this license
can be found in the LICENSE file included with this module.
perl v5.16.32014-Perl::Critic::Exception::Configuration::Option::Global::ParameterValue(3)