Search Results

Search: Posts Made By: rider29
4,978
Posted By rider29
sorting file names with hyphen and underscore
Hi,

I have two types of file names

filename1_12345 or filename1-12345 at the same time I have second type
filename2-12345 in a txt file.

I am trying to write awk script that will sort...
2,790
Posted By rider29
thanks for the responses, I was able to run this...
thanks for the responses, I was able to run this script from mac and will figure out what I am missing on Centos.
2,790
Posted By rider29
I just verified, the dev box I am working on is...
I just verified, the dev box I am working on is CentOS6.2 but this script will be run on CentOS6.0.

CentOS6.2 is giving me this

-bash: +%s: command not found
2,790
Posted By rider29
Thank you for your response. I was looking for a...
Thank you for your response. I was looking for a solution similar this but my system is not supporting "date + %s"
2,790
Posted By rider29
Centos 6.0
Centos 6.0
2,790
Posted By rider29
age in months for yyyy-mm-dd format
Hi,

I am trying to write a sh script which will give difference in given time to present time in months.

I get date from a script like


infoscript.sh | awk '{ print $3}'

where...
1,076
Posted By rider29
yeah, not all tickets will have same pre text . I...
yeah, not all tickets will have same pre text . I have TICKETS 2 formats

TICKET numbers
or
CODE-Number i.e AP-12345


Out: I need a regex to find this format.

---------- Post updated...
1,076
Posted By rider29
RegEX question
Hi,

I am trying to write a regex for myscript and need some input from experts.

here is what I must grep for

TICKET{Sapce}[3,4,5.. digit number][a comma]{Space}[Two aplhabits]{hyphen}[3,4,5...
4,329
Posted By rider29
I have a small problem, Instead of text file, I...
I have a small problem, Instead of text file, I have the text coming as an o/p of an other script i.e something similar to

for ENTRY in `/workspace/script3.sh "$arg1" |grep -i group |
cut -f2...
2,103
Posted By rider29
thanks to every body. I am not a scripting...
thanks to every body. I am not a scripting guy,trying to learn by asking questions . All your posts very Valuable to me.
2,103
Posted By rider29
thanks Sweetblood ---------- Post updated...
thanks Sweetblood

---------- Post updated 08-28-09 at 02:40 PM ---------- Previous update was 08-27-09 at 03:57 PM ----------




I am trying to test this Regex, there seems to be a problem ....
4,329
Posted By rider29
separating comma delimited words
Hi,

I have file with text

________________________________
GROUP:firstname1.lastname1,first_name2.last_name2,first_name3.last_name3
HEAD:firstname.lastname
________________________________...
1,402
Posted By rider29
Need help with text validation
Hi,

I am posting this to get some help from expert users. Any idea is appriciated.

https://www.unix.com/shell-programming-scripting/117736-matching-names-2-text-files.html#post302347353

Thank...
2,103
Posted By rider29
RegEx for text pattern
Hi,

Please help me write regex for text pattern like


CONTACT PEOPLE:first_name1.last_name1,first_name2.last_name2,first_name3.last_name3, ...so on

Any advice is Okay!

Thanks in...
1,906
Posted By rider29
matching names in 2 text files
I have 2 text files like

________________________________

Company Name:yada yada
ADDRESS:some where, CITY,STATE
CONTACT...
3,757
Posted By rider29
found the cause, it was due to missing space...
found the cause, it was due to missing space right after the "[" for "IF" condition.
3,757
Posted By rider29
Hi, I have been getting these errors(after...
Hi,
I have been getting these errors(after making changes). Please help

if[0 -eq 0]: command not found
syntax error near unexpected token `then'
3,757
Posted By rider29
thanks quirkasaurus.Sorry, I was addressing...
thanks quirkasaurus.Sorry, I was addressing Vidhyadhar85.

Here is the corrected version, had typos in my post.

****************************************
Args1="$1" (Args1 is script specific...
3,757
Posted By rider29
is there a way with out creating any auxiliary...
is there a way with out creating any auxiliary files in between coz this script which we write will be used by 100s of folks.I really appreciate your time and help.
3,757
Posted By rider29
this what I wrote, forgive me if there are...
this what I wrote, forgive me if there are blunders :-)

Args1="$1"
Args2="$2"
SCRIPT1=/u01/.././script1
searchText="`$SCRIPT1 "$Args1"`" (Here i need to get first line from the script1 output...
3,757
Posted By rider29
My trigger script was not getting executed even...
My trigger script was not getting executed even though I have a key word, If condition is not proper i guess. Plz suggest a generic If condition for my block of code.
3,757
Posted By rider29
yes i want to search for a keyword. My intention...
yes i want to search for a keyword. My intention was same but I keep getting errors. So was looking for help
3,757
Posted By rider29
search for key word and execute
Hi,

I am writing a shell (after 6-7 months)that has to receive text from another shell, check if the first line in the text has a key word and then execute different shell.I could come up with the...
7,063
Posted By rider29
java script, I can use any other script if that...
java script, I can use any other script if that will help :-) . Is it also possible to tail ?.
7,063
Posted By rider29
cat a file on webpage
Hi,

Is there a way to cat a file on Webpage? . Thanks in advance
Showing results 1 to 25 of 41

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