Home
Man
Search
Today's Posts
Register

Showing results 1 to 8 of 8
Search took 0.00 seconds.
Search: Posts Made By: Avinash Sinha
Forum: Shell Programming and Scripting 11-20-2017
Replies: 16
Views: 659
Posted By Avinash Sinha
Thank you.

Thank you.
Forum: Shell Programming and Scripting 11-19-2017
Replies: 16
Views: 659
Posted By Avinash Sinha
For below code snippet, Can you please let me...

For below code snippet, Can you please let me know -how to redirect jq program and use it in while loop?
while read path rev
do
rev=$(echo "${rev}" | sed "s/['\"]//g") # remove quotes which...
Forum: Shell Programming and Scripting 11-19-2017
Replies: 16
Views: 659
Posted By Avinash Sinha
I don't feel like there is an problem with...

I don't feel like there is an problem with closing braces as mentioned in above comment. I think there is a problem with jason process substitution which I am not able to figure out.
Forum: Shell Programming and Scripting 11-18-2017
Replies: 16
Views: 659
Posted By Avinash Sinha
I can see following output as result of man bash...

I can see following output as result of man bash for process substitution :

Process Substitution
Process substitution allows a process's input or output to be referred to using a...
Forum: Shell Programming and Scripting 11-18-2017
Replies: 16
Views: 659
Posted By Avinash Sinha
Can you please help me with the command and what...

Can you please help me with the command and what to look for exactly?
Forum: Shell Programming and Scripting 11-18-2017
Replies: 16
Views: 659
Posted By Avinash Sinha
$ echo $BASH_VERSION 4.4.12(3)-release I...

$ echo $BASH_VERSION
4.4.12(3)-release

I am running this script through CYGWIN as I could not find any other option to run shell script in windows machine. Please let me know if I need to...
Forum: Shell Programming and Scripting 11-18-2017
Replies: 16
Views: 659
Posted By Avinash Sinha
I tried with the suggested option, but it's still...

I tried with the suggested option, but it's still not working. I am getting below error :
syntax error near unexpected token `<'

Code snippet :
{
local -r godeps_json=${1:-Godeps/Godeps.json}...
Forum: Shell Programming and Scripting 11-17-2017
Replies: 16
Views: 659
Posted By Avinash Sinha
Question Error in script

While installing kubernetes, I have to run 1 script. Below is a part of that code. I am getting an error as
-bash: syntax error near unexpected token `}'
Please help me to find what changes are...
Showing results 1 to 8 of 8

 


All times are GMT -4. The time now is 12:27 PM.

Unix & Linux Forums Content Copyright 1993-2018. All Rights Reserved.
UNIX.COM Login
Username:
Password:  
Show Password