Sponsored Content
Top Forums Shell Programming and Scripting Linux/bash Script only working if executed from shell prompt Post 302971893 by beislhur on Tuesday 26th of April 2016 05:47:10 PM
Old 04-26-2016
Thanks a lot!!!

Three lousy letters! Removed the 'set' and it worked.. ..

Smilie
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

how to make a bash script that can be executed by people simultaneously?

dear friends, i want to make a bash script that can be executed by many people simultaneously. do you have any idea to make it? there will be many dependent-variables(which is input from people) in the scripts. i am thinking about a random temporary file that created by the bash script each... (4 Replies)
Discussion started by: jimmbp
4 Replies

2. Linux

Local shell script need to be executed on a remote linux box

I need to execute a shell script on a remote linux box. But the shell script resides on the local linux box where I am currently logged in. Is there a way to do this? I know rsh <host> <command> can execute a command on the remote host. (6 Replies)
Discussion started by: rajeshomallur
6 Replies

3. Shell Programming and Scripting

returning un executed string to shell prompt

Hi all, i'm pritty new to chell scripting I'm trying to find a way to return a value to shell without it executing. is there a special character that will encase a sting including the command to a shell without executing, so waiting for the user to press enter. say i wanted to return a value... (3 Replies)
Discussion started by: jvan
3 Replies

4. UNIX for Advanced & Expert Users

Script working successfully only when executed twice

Guys, i am facing a very strange issue, my code below does an ftp to server A and gets a file to Server B, once the file is in B an if condition is present to check if the pattern of the filename is ABC* then it has to be encrypted using OPENSSL as ABC.enc else if it of pattern 123* has to be... (3 Replies)
Discussion started by: meva
3 Replies

5. Shell Programming and Scripting

PLEASE HELP! LINUX BASH SHELL SCRIPT

PLEASE HELP! NEED LINUX SCTIPT Need to write a bash shell script to show information of employees of a department from a company data set. The script should accept a project number (1/2/3/10/20/30) and output * the name of the project * the name of the manager of the controlling... (1 Reply)
Discussion started by: help123
1 Replies

6. Homework & Coursework Questions

LINUX Bash Shell Script

Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted! 1. The problem statement, all variables and given/known data: Write a bash shell script that presents work information of employees of a department from a company data... (1 Reply)
Discussion started by: help123
1 Replies

7. UNIX for Dummies Questions & Answers

Bash script dont works when executed as cronjob

Hello, i have cronjob: crontab -l * * * * * pkill -f domexpcheck;sh /root/dom/domexpcheck.sh it runs: /var/log/cron Mar 25 12:11:01 vps crond: (root) CMD (pkill -f domexpcheck;sh /root/dom/domexpcheck.sh) but somehow script dont run properly via cronjob. But when i execute cronjob... (7 Replies)
Discussion started by: postcd
7 Replies

8. Shell Programming and Scripting

Bash shell script not working-picking segment patterns from a file

Hi All, I have to pick particular segments from a file and I have prepared below shell script.But its not working and I am not able to find out whats the issue.could you guys pls help? Sample file: TS3*1451575*12*20151231*4*482.44 NM1*QC*1*CUTLER*BETTY DTM*472*20150808... (4 Replies)
Discussion started by: Venkata Prasad
4 Replies

9. UNIX for Dummies Questions & Answers

Shell script not working but command works in command prompt

Hi everyone I have a problem with my script If I try directly this command /usr/bin/nice -n 19 mysqldump -u root --password="******" wiki_schneider -c | nice -n 19 gzip -9 > /point_de_montage/$(date '+%Y%m%d')-wiki-db.sql.gz It works But if I simply add this command in a script and... (8 Replies)
Discussion started by: picemma
8 Replies

10. Shell Programming and Scripting

Aliases NOT working inside bash shell script

i have defined a function ln_s() for customizing the ln command in script1.sh. more script1.sh echo "Starting Execution" ./script2.sh echo "End of Execution" ln_s(){ ] && return ln -s "$1" "$2" } My script1.sh executes another script2.sh which has the following entry more script2.sh... (12 Replies)
Discussion started by: mohtashims
12 Replies
PERLEXPERIMENT(1)					 Perl Programmers Reference Guide					 PERLEXPERIMENT(1)

NAME
perlexperiment - A listing of experimental features in Perl DESCRIPTION
This document lists the current and past experimental features in the perl core. Although all of these are documented with their appropriate topics, this succinct listing gives you an overview and basic facts about their status. So far we've merely tried to find and list the experimental features and infer their inception, versions, etc. There's a lot of speculation here. Current experiments -Dusemultiplicity -Duseithreads Introduced in Perl 5.6.0 Long Doubles Still Don't Work In Solaris Introduced in Perl 5.7.0 "our" can now have an experimental optional attribute "unique" Introduced in Perl 5.8.0 Deprecated in Perl 5.10.0 Linux abstract Unix domain sockets Introduced in Perl 5.9.2 See also Socket Pod::HTML2Pod Pod::PXML The <:pop> IO pseudolayer See also perlrun The <:win32> IO pseudolayer See also perlrun MLDBM See also perldsc internal functions with M flag See also perlguts lex_start API Introduced in Perl 5.13.7 internal API for "%^H" Introduced in Perl 5.13.7 See also "cophh_" in perlapi. alloccopstash Introduced in Perl 5.18.0 av_create_and_push av_create_and_unshift_one av_create_and_unshift_one cop_store_label Introduced in Perl 5.16.0 PL_keyword_plugin gv_fetchmethod_*_flags Introduced in Perl 5.16.0 hv_iternext_flags lex_bufutf8 lex_discard_to lex_grow_linestr lex_next_chunk lex_peek_unichar lex_read_space lex_read_to lex_read_unichar lex_stuff_pv lex_stuff_pvn lex_stuff_pvs lex_stuff_sv lex_unstuff op_scope op_lvalue parse_fullstmt parse_stmtseq PL_parser->bufend PL_parser->bufptr PL_parser->linestart PL_parser->linestr Perl_signbit pad_findmy sv_utf8_decode sv_utf8_downgrade bytes_from_utf8 bytes_to_utf8 utf8_to_bytes Lvalue subroutines Introduced in Perl 5.6.0 See also perlsub There is an "installhtml" target in the Makefile. Unicode in Perl on EBCDIC "(?{code})" See also perlre "(??{ code })" See also perlre Smart match ("~~") Introduced in Perl 5.10.0 Modified in Perl 5.10.1, 5.12.0 Lexical $_ Introduced in Perl 5.10.0 Backtracking control verbs "(*ACCEPT)" Introduced in: Perl 5.10 See also: "Special Backtracking Control Verbs" in perlre Code expressions, conditional expressions, and independent expressions in regexes gv_try_downgrade See also perlintern Experimental Support for Sun Studio Compilers for Linux OS See also perllinux Pluggable keywords See "PL_keyword_plugin" in perlapi for the mechanism. Introduced in: Perl 5.11.2 Array and hash container functions accept references Introduced in Perl 5.14.0 Lexical subroutines Introduced in: Perl 5.18 See also: "Lexical Subroutines" in perlsub Regular Expression Set Operations Introduced in: Perl 5.18 See also: "Extended Bracketed Character Classes" in perlrecharclass Accepted features These features were so wildly successful and played so well with others that we decided to remove their experimental status and admit them as full, stable features in the world of Perl, lavishing all the benefits and luxuries thereof. They are also awarded +5 Stability and +3 Charisma. The "N" regex character class The "N" character class, not to be confused with the named character sequence "N{NAME}", denotes any non-newline character in a regular expression. Introduced in: Perl 5.12 fork() emulation Introduced in Perl 5.6.1 See also perlfork DB module Introduced in Perl 5.6.0 See also perldebug, perldebtut Weak references Introduced in Perl 5.6.0 Internal file glob Introduced in Perl 5.6.0 die accepts a reference Introduced in Perl 5.005 64-bit support Introduced in Perl 5.005 Removed features These features are no longer considered experimental and their functionality has disappeared. It's your own fault if you wrote production programs using these features after we explicitly told you not to (see perlpolicy). "legacy" The experimental "legacy" pragma was swallowed by the "feature" pragma. Introduced in: 5.11.2 Removed in: 5.11.3 Assertions The "-A" command line switch Introduced in Perl 5.9.0 Removed in Perl 5.9.5 Test::Harness::Straps Moved from Perl 5.10.1 to CPAN GetOpt::Long Options can now take multiple values at once (experimental) "Getopt::Long" upgraded to version 2.35 Removed in Perl 5.8.8 The pseudo-hash data type Introduced in Perl 5.6.0 Removed in Perl 5.9.0 5.005-style threading Introduced in Perl 5.005 Removed in Perl 5.10 perlcc Introduced in Perl 5.005 Moved from Perl 5.9.0 to CPAN AUTHORS
brian d foy "<brian.d.foy@gmail.com>" Sebastien Aperghis-Tramoni "<saper@cpan.org>" COPYRIGHT
Copyright 2010, brian d foy "<brian.d.foy@gmail.com>" LICENSE
You can use and redistribute this document under the same terms as Perl itself. perl v5.18.2 2014-01-06 PERLEXPERIMENT(1)
All times are GMT -4. The time now is 08:40 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy