I am trying to use a script to replace the header of each file, whose filename are stored within the array $test, using the sed command within a Perl script as follows:
$count = 0;
while ( $count < $#test )
{
`sed -e 's/BIOGRF 321/BIOGRF 332/g' ${test} > 0`;
`cat 0 >... (2 Replies)
What is wrong with this line in a perl script?
$amc_data = `sed -n '/\/,/\/p' "$config_file"`
I ran the above from command line and it works fine from unix command prompt.
The code should produce output between the and tags.
The config_file is as follows:
Sun ... (2 Replies)
Hi,
I have a comfig file as follows:
Sun 0000-2359
Mon 0000-0859;1830-2359
Tue 0000-2359;1830-2359
Wed 0000-2359;1830-2359
Thu 0000-2359;1830-2359
Fri 0000-2359;1830-2359
Sat 0000-2359
Sun 0000-2359
Mon 0000-0859;1830-2359
Tue ... (1 Reply)
hello,
new to this forum. but i have a requirement to extract the value from multiple xml node and print out the values to new file with comma seperated. would like to know how this would be done using either sed/perl or some unix script. an example would be tremendous...
sample input file:... (2 Replies)
Hi Friends,
I'm calling 'sed' command inside one perl script, which is to list directory names which are having some date value as their names (in the form YYYYMMDD) with in the range (start and end date).
#!/usr/bin/perl -w
use strict;
use warnings;
my $DATA = "/export/home/ganapa";
my... (5 Replies)
I am trying to run a perl script which needs input arguments from a parent perl script, but doesn't seem to work. Appreciate your help in this regard.
From parent.pl
$input1=123;
$input2=abc;
I tried calling it with
system("/usr/bin/perl child.pl $input1 $input2");
and
`perl... (1 Reply)
Hi All,
I am aware that html tags can be embedded in cgi script as below.. In the same way is it possible to embed the below javascript in perl cgi script ??
print("<form action="action.htm" method="post" onSubmit="return submitForm(this.Submitbutton)">");
print("<input type = "text"... (1 Reply)
trying to write up a script to put the suffix back.
heres what I have but can't get it to do anything :(
would like it to be name.date.suffix
rsync -zrlpoDtub --suffix=".`date +%Y%m%d%k%M%S`.~" --bwlimit=1024 /mymounts/test1/ /mymounts/test2/
while IFS=. read -r -u 9 -d '' name... (1 Reply)
I am having trouble re-writing this sed code
sed -nr 's/.*del(+)ins(+).*NC_0{4}(+).*g\.(+)_(+).*/\3\t\4\t\5\t\1\t\2/p' C:/Users/cmccabe/Desktop/Python27/out_position.txt > C:/Users/cmccabe/Desktop/Python27/out_parse.txt in perl Basically, what the code does is parse text from two fields... (12 Replies)
I have reviewed many examples on-line about running another process (either PERL or shell command or a program), but do not find any usefull for my needs way. (Reviewed and not useful the system(), 'back ticks', exec() and open())
I would like to run another PERL-script from first one, not... (1 Reply)
Discussion started by: alex_5161
1 Replies
LEARN ABOUT DEBIAN
nautilus-scripts-manager
NAUTILUS-SCRIPTS-MANAGER(1) General Commands Manual NAUTILUS-SCRIPTS-MANAGER(1)NAME
nautilus-scripts-manager - easy tool for nautilus scripts management
SYNOPSIS
nautilus-scripts-manager [options]
DESCRIPTION
This manual page documents briefly the nautilus-scripts-manager command.
nautilus-scripts-manager is a program that allows any user to easily manage installed Nautilus scripts.
GENERAL OPTIONS -h, --help
Show summary of options.
-v, --version
Show version of program.
COMMANDS
One (and only one) of the following commands can be passed:
-e, --enable=ENABLE
Enable script ENABLE.
-d, --disable=DISABLE
Disable script DISABLE.
-l, --list-enabled
List enabled scripts.
-a, --list-available
List available scripts.
If no command is provided, the graphical interface is started.
OPTIONS -e, --position=POSITION
In conjunction with -e or -d: establish the position of the script (can be just a name, or a path with slashes - quote it if it con-
tains spaces).
SEE ALSO nautilus(1),
AUTHOR
nautilus-scripts-manager and this manual page were written by Pietro Battiston <me@pietrobattiston.it>.
This manual page was written for the Debian project (but may be used by others).
July 14, 2009 NAUTILUS-SCRIPTS-MANAGER(1)