Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: irixfan
  • Content: Threads
  • Order by date
  1. irixfan

    To get rid of special characters in filenames

    I need the syntax how to handle special characters '[]' in a csh (or another) script. In my directory several files have string '[1]' in their filenames and I would like to rename them all with a script to remove '[1]' from filenames. (like 'mv filename[1].jpg filename.jpg') I guess the...
  2. irixfan

    csh if ; to check if characters are not numbers

    In a csh script I check if a variable (one character) is not a number: if ($myvar !~ [0-9]) then How to do the same for say the first three characters of any variable? I mean if any of them is not a number then...
  3. irixfan

    Output redirection to top of file

    I have a csh script that gives me a text line as output. I can add this line to the end of a file by using >> How to add the line to be the first line of the file? Now I use a temporary file for output and join the files as separate command to get the last output be the first line. That works...
  4. irixfan

    How to print the last 9 characters

    How to print the last 9 characters of $1 and then $2 completely? Input file has multiple lines, two strings on each.
  5. irixfan

    to run unix scripts from PC

    Need to run unix scripts on an unix system from PC. (Something like rsh or rlogin). This should be done within a bat file. All tips welcome, thanks!

Part and Inventory Search

Back
Top