Unix/Linux Go Back    


Shell Programming and Scripting BSD, Linux, and UNIX shell scripting — Post awk, bash, csh, ksh, perl, php, python, sed, sh, shell scripts, and other shell scripting languages questions here.

Assign expression to a variable

Shell Programming and Scripting


Reply    
 
Thread Tools Search this Thread Display Modes
    #8  
Old Unix and Linux 05-19-2017
rovf rovf is offline
Registered User
 
Join Date: Jun 2011
Last Activity: 20 July 2017, 4:24 AM EDT
Posts: 168
Thanks: 23
Thanked 29 Times in 25 Posts
Quote:
Originally Posted by Don Cragun View Post
Hi rovf,
If, and only if, there is a file named 127.0.0.1 in the directory in which you invoke the command
You are right! I was too much stuck into zsh (where you would get an error "no matches found", unless you explicitly override this), and did not remember that bash and ksh are different in this respect.

Ronald
Sponsored Links
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Assign regular expression change to only first two columns quincyjones Shell Programming and Scripting 7 12-20-2010 03:36 PM
Shell assign variable to another variable 3junior Shell Programming and Scripting 3 11-18-2010 10:20 PM
assign awk's variable to shell script's variable? tiger2000 Shell Programming and Scripting 4 04-13-2010 03:53 PM
Assign this to a variable.... ak835 Shell Programming and Scripting 5 10-29-2009 08:03 AM
assign a value to a variable Shivdatta Shell Programming and Scripting 10 01-17-2007 06:40 AM



All times are GMT -4. The time now is 08:45 AM.