My sh script version agrees with the php version. Also, while I'm not very familiar with bash 4, it seems to me that the outermost pair of double quotes is off (the pair cross a command substitution boundary).
Regards,
Alister
---------- Post updated at 05:33 PM ---------- Previous update was at 05:30 PM ----------
Woops! Disregard my comment regarding the quoting in the bash 4 code. I misread it.
Hi a am writing a C Programe on Vi Editor (File Handelling),and i am compiling it using fcc but it not compiling ,Even Vi not saving my file.Tell me how can i do that.One More Thing I want to know that ,Is their any subsitute of conio.h. (3 Replies)
when the user selects an option ou from the list how is it possible to let the script detect the option and carry out the appropriate action...i noe its suppose to use the for or if loop..but how ?? (3 Replies)
Hello,
I've posted this in an X group, but I thought one of you might be able to help.
I'm a novice programmer and I'm trying to write an X program in which pressing a button will launch another program. I know the syntax is something like "(Widget) -command {exec /usr/X11R6/bin/xcalc &}"... (5 Replies)
on of the question that I have is that in class . We were asked this question
**What command would you use to list the last modification time of
all files in /tmp whose filenames end in exactly two digits?
I know that we need to to ls /tmp/ ??.... but I did not know how to find that last... (2 Replies)
I have a file, not really a csv, but containing delineated data just the same. Lets call that file "raw_data.txt". It contains data in the format of company name:fein number like this:
first company name:123456789
second company name:987654321
what i need to do is read this file, apply... (11 Replies)
. Make a new copy of mars.txt called marsx. What happens if you give the following commands when the files bio and marsx both already exist? Don't guess, try it!
a) cp bio marsx
b) mv bio marsx (2 Replies)
hi
i want to generate SHA1 hash of string in Linux (atmark) and downloaded the XYSSL-0.9 version code for the same.i have the algorithm which takes file as argument and returns hash of file . And of same file while I generated the key using online tools then it doesn't match with my compiled... (4 Replies)
Hi guys!
Me again! ...
I'm trying to build (on MacOS directly) a bash script that will help me verify a SHA1 digest (to verify downloads and so on and so forth).
So first off, here's my version of BASH under OSX:
bash-4.4$
And here's my version of Sierra (macOS):
10.12.3 (16D32)
... (2 Replies)