Scripting

Tag details

Welcome to the 'Scripting' tag page at Technorati. This page features content from the farthest reaches of the Blogosphere that authors have "tagged" with 'Scripting'.

Look up Offsite Link "Scripting" at The Free Dictionary

Latest blogosphere posts tagged “Scripting”

  • Question about awk commands


    The UNIX and Linux ForumsAuthority Authority: 167
    what does this mean? cat /etc/passwd | awk -F: {print $5} | \ awk -F, {print $1} | \ awk {print tolower($l)};{print tolower($2)} | \ grep -v ^$ >> local_tmp
    1 hour ago
  • Processing records as group - awk


    The UNIX and Linux ForumsAuthority Authority: 167
    I have a file has following records policy glb id 1233 name Permit ping from "One" to "Second" "Address1" "Any" "ICMP-ANY" permit policy id 999251 service "snmp-udp" exit policy glb id 1234 name Permit telnet from "One" to "Second" "Address2" "Any" "TCP-ANY" permit policy id 1234 service "tcp" exit I want to ...
    1 hour ago
  • Reformating ascii file with awk


    The UNIX and Linux ForumsAuthority Authority: 167
    Hello, Ive a lot of ascii files that I would like to reformat : One of filess column (for exemple $5) contains increasing numbers (see exemple) : $5= 1 1 1 1 1 2 2 2 2 3 3 3 3 3 3 3 3 4 4 [...] What Id like to do is to assign the value "1" for the first record of a consistant block ( a ...
    1 hour ago
  • Timestamp in the filename


    The UNIX and Linux ForumsAuthority Authority: 167
    Hi i want to replace the previous time stamp with the current timsatp at the start of the file like 20090710_113354_FT0710a.txt this one to 20091111__113354_FT0710a.txt thanks in advance
    2 hours ago
  • expiry date of shell script


    The UNIX and Linux ForumsAuthority Authority: 167
    Hello folks, I have question about my expiry of shell script, today date is 2009-11-11, i will have to deploy a script today, how i should setup that my script will not work after 2010-05-11, Between if someone will change the date of server then script will again not work, please give suggestions and recommendation. ...
    2 hours ago
  • modifications to a file


    The UNIX and Linux ForumsAuthority Authority: 167
    Hi, I do not have a clue how to do this nor can I find information on it but I have a file that looks like this (basically 3 columns and tab delimited). I need this in a particular format in order for a program to actually read it. Code: chr1  2  4 chr1  2  5 chr1  3  6 chr2  1  4 chr2  2  5 what ...
    2 hours ago
  • getopts fails to error on option w/o dash


    The UNIX and Linux ForumsAuthority Authority: 167
    I have a script with several options and during testing I found that the \? option does not handle options without dashes as I would expect. Then I run the script with any option that does not include a dash, it runs the script when I would expect \? to catch it and error. Ive tried this with OPTERR=0 and OPTERR=1 ...
    2 hours ago
  • Question about variables


    The UNIX and Linux ForumsAuthority Authority: 167
    What does this mean? Code: #!/bin/bash BACKUPFILE=backup-$(date +%m-%d-%Y) archive=${1:-$BACKUPFILE}
    2 hours ago
  • Adding Glue to Websites


    MarshalSandler.comAuthority Authority: 137
    “ How do we add Glue to our site? ” has become a common question from publishers, media companies, authors and bloggers . Current partners who have added Glue to their site include: The Huffington Post , Random House , The NY Times, O’Reilly Media, various Hearst properties, Unbridled Books , hundreds of ...
    3 hours ago
  • Assigning value to a variable


    The UNIX and Linux ForumsAuthority Authority: 167
    Is there any difference between: Code: set variable=39 and Code: variable=39
    4 hours ago
  • In His Own Words: Stephen Wolfram on Computational Knowledge


    MarshalSandler.comAuthority Authority: 137
    In His Own Words: Stephen Wolfram on Computational Knowledge is a post from: MarshalSandler.com You have (hopefully) read our post on our exciting collaboration between Bing and Wolfram|Alpha to bring some of the amazing computational knowledge of Wolfram|Alpha into the Bing experience. We had the privilege of ...
    5 hours ago
  • How Many Calories in a Burger? What’s 2^2^2^2^2? Bing and Wolfram|Alpha Have the Answers


    MarshalSandler.comAuthority Authority: 137
    How Many Calories in a Burger? What’s 2^2^2^2^2? Bing and Wolfram|Alpha Have the Answers is a post from: MarshalSandler.com One of the things we’ve tried to do with Bing is to bring customers the information they are looking for, presented in a useful way. If we can adequately infer a user’s intent, we can ...
    6 hours ago
  • sorting the data in right justified manner through awk.


    The UNIX and Linux ForumsAuthority Authority: 167
    Dear all, I have a inputfile like some what like this - 1000.98651 1000.96696 999.98904 991.66864 986.51829 986.49467 17.44122 16.74039 16.74021 10.92725 desired output 1000.98651 1000.96696 0999.98904 0991.66864 0986.51829 0986.49467 0017.44122 0016.74039 0016.74021 0010.92725 so that i can sort this in ...
    10 hours ago
  • check if the input is number or text?


    The UNIX and Linux ForumsAuthority Authority: 167
    i have to check if is input number or text, i case that is text then exit script exaple is hrere, but is not working Code: check_it() {     if [ "$1" != +([a-zA-Z]) ]         then                if (( $1 > 0 && $1             then                 echo "input number is ...
    10 hours ago
  • End of file in AWK


    The UNIX and Linux ForumsAuthority Authority: 167
    Hello! I need to control when i arrive to the end of my file, any built-in? or another way to do? Thanks!
    10 hours ago
  • How can i break a text file into parts that occur between a specific pattern


    The UNIX and Linux ForumsAuthority Authority: 167
    How can i break a text file into parts that occur between a specific pattern? I have text file having various xml many tags like which starts with the tag " " . I have to break the whole file into several xmls by looking for the above pattern. All the tags occuring in between the above pattern will form a seperate ...
    11 hours ago
  • how to read character by character in a file


    The UNIX and Linux ForumsAuthority Authority: 167
    Hi, How read character by character from a file . and i need replace . with null if it comes as a 5 character i am beginner ...please help me
    11 hours ago
  • Choose your customers, choose your future


    MarshalSandler.comAuthority Authority: 137
    Marketers rarely think about choosing customers... like a sailor on shore leave, were not so picky. Huge mistake. Your customers define what you make, how you make it, where you sell it, what you charge, who you hire and even how you fund your business. If your customer base changes over time but you fail to make ...
    12 hours ago
  • Bing’s Next Chapter Begins Today


    MarshalSandler.comAuthority Authority: 137
    Bing’s Next Chapter Begins Today is a post from: MarshalSandler.com When Bing launched back in June, our aim was to bring innovation to search in three important areas: Provide great results to help reduce the amount of time people spend searching and clicking on bad links Offer a richer, more organized ...
    17 hours ago
  • Using the GeoLocation API


    Broken LinksAuthority Authority: 98
    With the rapid growth of the mobile web , location-aware services are very much in-demand; the GeoLocation API was proposed in order to cater to this need. Implementation is spotty at the moment; Firefox 3.5 supports it, as does Safari for iPhone (although not on the desktop, AFAICS ). But it’s so simple to ...
    22 hours ago

Comments about Scripting

Personal attacks are NOT allowed
Please read our comment policy