INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

Looking for cleartool carriage return command

Looking for cleartool carriage return command

(OP)
Hi all,

When doing concation using cleartool command some of the scripts are mixing up. Can anyone help me with cleartool command to do line carriage return automatically.

Thanks in advance

RE: Looking for cleartool carriage return command

I'm not sure what you're asking.  A CR-LF (or just LF if Unix) is a command statement terminator, and will execute your cleartool command.

Is it that you're logging the output of a script containing cleartool commands, and it's word-wrapping because the lines are so long?

Chip H.

____________________________________________________________________
If you want to get the best response to a question, please read FAQ222-2244: How to get the best answers first

RE: Looking for cleartool carriage return command

(OP)
chip thanks a  lot for your note! I'm using cleartool command using ant in xml format. How to implement CR-LF
feature in below cleartool scenario?

find ${CC_DRV}\${SRC_CC_VIEW}\cpm\database\content -nrecurse -name *.[s][q][l] -version "lbtype_sub(${CURR_VERSION}) && !lbtype_sub(${PREV_VERSION})" -exec "cmd /c type %CLEARCASE_PN% >> ${Contetn}\content.sql"" />

Thanks in advance

RE: Looking for cleartool carriage return command

My first impression is that the statement is too complex.  Try breaking it up into pieces -- refactoring your ANT script into sub-targets with property parameters to make it easier to understand.

BTW, you mispelled "Content" as "Contetn"

Chip H.

____________________________________________________________________
If you want to get the best response to a question, please read FAQ222-2244: How to get the best answers first

RE: Looking for cleartool carriage return command

Take a look at this.  It might be what you're looking for, even if it's for NANT and not ANT.

nant-users@lists.sourceforge.net/msg08559.html" target="_blank">http://www.mail-archive.com/nant-users@lists.sourceforge.net/msg08559.html

Chip H.

____________________________________________________________________
If you want to get the best response to a question, please read FAQ222-2244: How to get the best answers first

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close