Hi,
Is there anyway to use variable in the following case?
The file is not able to update.
perl -pi -e 's/${seq_detail}/${new_seq}/g' ${SEQ_FILE}
alternatif, i try to use sed, but still the file is not updated.
sed -n -e 's/${seq_detail}/${new_seq}/g' ${SEQ_FILE}
Can anyone help to...
Hi
I am looking for a way to shorten the following script, is there any other options?Thanks.
if [ $t_seq_number -le 9 ]
then
t_seq_number1="0000000000"$t_seq_number
else
if [ $t_seq_number -le 99 ]
then
t_seq_number1="000000000"$t_seq_number...
This is my test usage of awk and I face the error of "illegal statement". I don't really where goes wrong?
can anyone help? Thanks.
#! /bin/sh
temp="temp"
cat test.dat |awk \
'BEGIN {FS="|"}
{
if [$14 != ""]; then
team_name=$14
else...
Do anyone knows what is the refresh command (that simulate enter key) that can be used in shell scripts?
I have a shell script, so whenever after executing the script, I need to press ‘enter’ to get back the unixprompt … or else the system will still stay there.
i have the following script to read the date for a file :
- get_mdate.awk
{
timestamp = substr($0, 42, 12)
month = substr(timestamp, 1, 3)
day = substr(timestamp, 5, 2)
thisyear = substr(todaydate, 1, 4)
thismonth = substr(todaydate, 5, 2)
if (month == "Jan") {
monthnum = "01"
}...
Does anyone know how to set flag "importance" when using mail -s "meeting" abc@outlook.com < meeting.notice? The importance flag is expected to be able to highlight the importance of the email when I read from outlook inbox.
thanx
Hi all,
QUESTION : how to read a file from regedit, without info where the specific path the file is stored? The file type is REZ_SZ and i need to read the content of the file.
Thank you.
Please provide me some useful link that i can try to check on it if you have. thanks.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.