Comments (7)
The line is here. I think sed -E
should work.
from with.
-E
works in OS X, but then wouldn't it stop working on other platforms? -E
is used in FreeBSD and Mac OSX, but FreeBSD has an -r
alias, while OS X doesn't...
from with.
@waldyrious -E does work on both BSD and GNU sed AFAIK. I can't throughout test the code right now, though.
from with.
That would be great, but it doesn't seem to be the case. You may be thinking of lowercase -e
which indeed works in both BSD sed and GNU sed.
from with.
http://unix.stackexchange.com/a/131940
from with.
Nice! So we could use -E, cool. And wow, the fragmentation :/
from with.
same here
from with.
Related Issues (20)
- Error when using sh. Script should use Bash by default. HOT 2
- doesn't quit with ^D, ^C cancels process instead of current line HOT 2
- colours get lost HOT 2
- Syntax error: "(" unexpected (expecting "fi") HOT 6
- Shellcheck HOT 1
- Syntax error on Linux Ubuntu with #!/usr/bin/env sh HOT 2
- Include tests
- Installation with zsh HOT 1
- Add support for shell syntax in `:`-prefixed lines HOT 2
- Correct readme HOT 1
- Port to windows batch script HOT 1
- Port script to POSIX sh
- Retain prompt or allow user prompt
- Program not installed HOT 6
- sed: 1: "s/%prefix%/curl -vvv ht ...": bad flag in substitute command: '/' HOT 2
- Configure for windows bash
- Doesn't work with aliases
- with --help: print_help command not found HOT 1
- Include full command in shell history HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from with.