Search Results

Search: Posts Made By: temp_user
3,506
Posted By Chubler_XL
depends on what you define as special. This...
depends on what you define as special.

This will escape any non-alphanum,hyphen or underscore:

$ echo 'qwerty123@!,' | sed 's/[^[:alnum:]_-]/\\&/g'
qwerty123\@\!\,
784
Posted By Scrutinizer
Hi, use quotes around the first EOF cat >...
Hi, use quotes around the first EOF
cat > "$1/$2.sh" << "EOF"
#! /bin/bash
ant -q -buildfile $HOME/$3/build.xml $4
...
EOF
784
Posted By prav_chidugulla
Hi, Use back slash before $ ant -q...
Hi,
Use back slash before $

ant -q -buildfile \$HOME/\$3/build.xml \$4
2,866
Posted By Corona688
The code you are feeding into shc. It is...
The code you are feeding into shc. It is obviously relevant.
2,866
Posted By Akshay Hegde
Just run following and test whether shc is...
Just run following and test whether shc is creating executables $ shc -v -r -T -f your_shell_script
Showing results 1 to 5 of 5

 
All times are GMT -4. The time now is 03:59 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy