Search:

Type: Posts; User: peter_brickles; Keyword(s):

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Replies
    3
    Views
    4

    add text to the end of line

    Seems simple but ive been searching for a good hour of so

    I have a text file and would like to add a string to the end of line 5 ( as an example)

    to ake tings hard the line number we have to...
  2. sed to replace spaces in quotation marks

    I have a file containing a long passage of text as follows
    an excerpt from the file is



    How i would like to to read



    Is theres any way to achieve this using sed or any other cli...
  3. [SOLVED] Re: bash read a file line by line and give percentage of task completed

    thanks for the heads up guys

    @steeldriver worked a treat marked as solved
  4. [SOLVED] Re: bash read a file line by line and give percentage of task completed

    setting the variable to 0 has no affect on the error message im not really up to speed with running it with the script ie



    and in the loop the % bar just came up at the end of the script
  5. [SOLVED] bash read a file line by line and give percentage of task completed

    hi guys im trying to read file line by line which i have successfully done before but as Im using a large file i want to update the terminal with a % completed message on each iteration so far i...
  6. [SOLVED] Re: Recursivly rename folders removing characters as required

    solved this on with a little help from another forum if any one ever needs the solution
  7. [SOLVED] Recursivly rename folders removing characters as required

    HI guys here's hoping some on pout the can help

    I have a large library of epub and mobi file creates some what by calibre.

    Output of tree listing below



    I would like to recursively...
  8. [SOLVED] days of month in variable not working

    Hi guys i want to get the number of days in next month in a variable so i can loop through it so far i have



    but it s giving the error



    Ive used variable in a for next loop before so...
  9. Replies
    1
    Views
    772

    changing display of lines

    i have a file which contains the following lines



    is any way to get the file to swich so it displays



    any help would be appreciated guys
  10. Replies
    1
    Views
    404

    seelct case based on current time

    HI Guys im tring to write a bash sccript which will give me the time of the next us from my local stop

    i have a list of times as below



    but have no dea how to do thia using a select case...
  11. Replies
    2
    Views
    418

    Csv help

    Need help creating a csv script

    my script takes informaion from a web page and should compile it into a csv file howerver results are not as expected

    heres the script



    i was expecting
  12. Replies
    0
    Views
    260

    Curl help

    HI I am trying to write a script where i can enter a dvd's bar code at the cli and return the price sites will pay for the dvd.

    the bard code im using for testing is



    this site is
  13. Re: using curl or wget in a sricpt url contains wrong characters

    sorry found the solution it was a carridge return sorted with [QUOTE]tr -d '\r'[QUOTE]
  14. using curl or wget in a sricpt url contains wrong characters

    hi guys looking for a heads up im writing a script to atomaticly downloada few web pages

    list of the end of the urls



    but when i use curl or wget the end of the url is
  15. Replies
    2
    Views
    255

    making lines in a file shorter

    I have a list of longitudes in the following format




    in a text file but I need to make then just four digits after the decimal point



    does any one know of a one liner sed perl...
  16. Replies
    2
    Views
    312

    Re: help with curl

    any other way to do this without curl ?
  17. Replies
    2
    Views
    312

    help with curl

    hi guys im trying to automate a request with curl on the site

    http://fca-consumer-credit-interim.force.com/CS_RegisterSearchPageNew

    the ip refernece i have that returns a result is 637235
    ...
  18. Replies
    3
    Views
    469

    am-pm in string

    HI guys

    i have a variable in bash which conatins a string with the time in 24 hour format as follows



    this is scraped from the web not piped from a linux command is there any way to easy...
  19. Replies
    1
    Views
    1,058

    supress error message

    Im running a script i have written and the following line give me an error message and im not really sure why can any one help ?

    heres the line in the script that fires the error




    and...
  20. Replies
    3
    Views
    270

    Re: Extrapolating Information

    thanks ofnuts that works great is there any way we can include the year for the film eg for films that have been remade

    for example the film "True Grit"



    but the url can specify
    ...
  21. Replies
    3
    Views
    270

    Extrapolating Information

    HI GUys I am querying omdbapi wich is returning some good results for me




    returns



    i oulwd now like to find a nice east way to exprapolate this
  22. Replies
    3
    Views
    233

    formatting as csv

    I have a rather large file as below



    I would like to have it in the following format so i can open in libre office



    any one have any ideas how i can accomplish this ?
  23. Replies
    4
    Views
    455

    Re: formatting a text file for csv

    Thank you very much worked great
  24. Replies
    4
    Views
    455

    Re: formatting a text file for csv

    sorry didnít notice the list had lost formatting 4 colums






    South Gloucestershire Myglobe LTD Ideal Pharmacy 1 High Street
    Havering ...
  25. Replies
    4
    Views
    455

    formatting a text file for csv

    HI guys i have a text file as below



    as you can see spaces are not consistant and some colums will contain strings incluing spaces.

    Any one know how i can format such sa a neat csv file ? ...
Results 1 to 25 of 37
Page 1 of 2 1 2