I am figuring out the Ipython shell support. Its seems awk doesn't work i.e following command
!ls -l | awk '{print $1}'
just prints "1".
How do I pass the "$" sign correctly to shell. I am using zsh.
Two dollar signs give you a literal dollar sign, so try:
!ls -l | awk '{print $$1}'
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With