linux - syntax error unexpected token using pipe (|) in perl -


I am creating a pell script to know and it took me a while to find such an error in my script Syntax error with unexpected token '| '`|

And this is a line of my script where the error occurs

awk -F \ '= \' \ {print \ $ 2} \ '$ Bundle | Awk -F \ '/ \' \ '{print \ $ 11} \'

This is what I did. And its output is the name of the file

in perl Instead, use split to call external commands:

  (partition '/', $ bundle) [10];   

You will return whatever you like.

What do I mean here:

  Use strict; Use warnings; My $ bundle = "a / b / c / d / e / f / g / h / i / j / k / l / m / n / o /"; Print `echo $ bundle | Awk -F \ '/ \' \ '{print \ $ 11} \'; Print ((division '/', $ bundle) [10], "\ n");   

Both lines will output k .

But I am confused, what are the double quotes for your order?

Comments

Popular posts from this blog

Java - Error: no suitable method found for add(int, java.lang.String) -

java - JPA TypedQuery: Parameter value element did not match expected type -

c++ - static template member variable has internal linkage but is not defined -